| 58 | } |
| 59 | |
| 60 | void test_permutation( |
| 61 | const geode::PointSet3D& point_set, geode::PointSetBuilder3D& builder ) |
| 62 | { |
| 63 | std::vector< geode::index_t > permutation{ 2, 0, 3, 1 }; |
| 64 | builder.permute_vertices( permutation ); |
| 65 | geode::OpenGeodeMeshException::test( |
| 66 | point_set.point( 2 ) == geode::Point3D(), |
| 67 | "Point coordinates have not been correctly permuted" ); |
| 68 | geode::OpenGeodeMeshException::test( |
| 69 | point_set.point( 0 ) == geode::Point3D( { 2.3, 5.0, -1.2 } ), |
| 70 | "Point coordinates have not been correctly permuted" ); |
| 71 | } |
| 72 | |
| 73 | void test_bounding_box( const geode::PointSet3D& point_set ) |
| 74 | { |
no test coverage detected