|
Celeritas 0.7.0-dev.161+develop.301cbc939
|
Store a unit and its builder over the lifetime of the class. More...
#include <ObjectTestBase.hh>

Public Types | |
Type aliases | |
| using | Unit = detail::CsgUnit |
| using | UnitBuilder = detail::CsgUnitBuilder |
| using | Tol = Tolerance<> |
Public Member Functions | |
| virtual Tol | tolerance () const =0 |
| Construction tolerance used by unit builder. | |
| Unit const & | unit () const |
| Access the constructed unit. | |
| UnitBuilder & | unit_builder () |
| Lazily create and access the unit builder for passing around. | |
| UnitBuilder const & | unit_builder () const |
| Access the unit builder for const passing. | |
| void | reset () |
| void | reset (BBox const &extents) |
| LocalVolumeId | build_volume (ObjectInterface const &s) |
| void | print_expected () const |
| void | print_csg () const |
Public Member Functions inherited from celeritas::test::Test | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
Additional Inherited Members | |
Static Public Member Functions inherited from celeritas::test::Test | |
| static std::string | test_data_path (std::string_view subdir, std::string_view filename) |
Get the path to a test file at {source}/test/{subdir}/data/{filename}. | |
| static bool | strict_testing () |
| True if strict testing is required. | |
Static Public Attributes inherited from celeritas::test::Test | |
| static constexpr double | inf = HUGE_VAL |
| static constexpr float | inff = HUGE_VALF |
| static constexpr double | fine_eps = 1e-12 |
| static constexpr double | coarse_eps = 1e-6 |
Store a unit and its builder over the lifetime of the class.