| 305 | } |
| 306 | |
| 307 | void test_bounding_box( const geode::RegularGrid3D& grid ) |
| 308 | { |
| 309 | const auto bbox = grid.bounding_box(); |
| 310 | geode::Point3D min{ { -18.5, -45, 1 } }; |
| 311 | geode::Point3D max{ { 1.5, 0, 6 } }; |
| 312 | geode::OpenGeodeMeshException::test( bbox.min() == min, |
| 313 | "Wrong bounding box min: ", bbox.min().string(), " instead of ", |
| 314 | min.string() ); |
| 315 | geode::OpenGeodeMeshException::test( bbox.max() == max, |
| 316 | "Wrong bounding box max: ", bbox.max().string(), " instead of ", |
| 317 | max.string() ); |
| 318 | } |
| 319 | |
| 320 | void test_closest_vertex( const geode::RegularGrid3D& grid ) |
| 321 | { |
no test coverage detected