| 59 | } |
| 60 | |
| 61 | void test_bounding_box( const geode::PolyhedralSolid3D& polyhedral_solid ) |
| 62 | { |
| 63 | geode::Point3D answer_min{ { 0.1, 0.2, 0.3 } }; |
| 64 | geode::Point3D answer_max{ { 9.3, 9.4, 6.7 } }; |
| 65 | const auto bbox = polyhedral_solid.bounding_box(); |
| 66 | geode::OpenGeodeMeshException::test( |
| 67 | bbox.min() == answer_min, "Wrong computation of bounding box (min)" ); |
| 68 | geode::OpenGeodeMeshException::test( |
| 69 | bbox.max() == answer_max, "Wrong computation of bounding box (max)" ); |
| 70 | } |
| 71 | |
| 72 | void test_facets( const geode::PolyhedralSolid3D& polyhedral_solid ) |
| 73 | { |
nothing calls this directly
no test coverage detected