| 211 | } |
| 212 | |
| 213 | void test_cell_geometry( const geode::LightRegularGrid3D& grid ) |
| 214 | { |
| 215 | geode::OpenGeodeMeshException::test( |
| 216 | grid.grid_point( { 0, 0, 0 } ) == geode::Point3D( { 1.5, 0, 1 } ), |
| 217 | "Wrong point coordinates" ); |
| 218 | geode::OpenGeodeMeshException::test( |
| 219 | grid.grid_point( { 0, 0, 1 } ) == geode::Point3D( { 1.5, 0, 4 } ), |
| 220 | "Wrong point coordinates" ); |
| 221 | geode::OpenGeodeMeshException::test( |
| 222 | grid.grid_point( { 1, 1, 1 } ) == geode::Point3D( { 2.5, 2, 4 } ), |
| 223 | "Wrong point coordinates" ); |
| 224 | geode::OpenGeodeMeshException::test( |
| 225 | grid.grid_point( { 2, 1, 4 } ) == geode::Point3D( { 3.5, 2, 13 } ), |
| 226 | "Wrong point coordinates" ); |
| 227 | } |
| 228 | |
| 229 | void test_cell_query( const geode::LightRegularGrid3D& grid ) |
| 230 | { |
no test coverage detected