| 456 | } |
| 457 | |
| 458 | void test_adjacencies2D() |
| 459 | { |
| 460 | auto grid = geode::RegularGrid2D::create(); |
| 461 | auto builder = geode::RegularGridBuilder2D::create( *grid ); |
| 462 | builder->initialize_grid( geode::Point2D{ { 0., 0. } }, { 10, 10 }, 1 ); |
| 463 | for( const auto p : geode::Range{ grid->nb_polygons() } ) |
| 464 | { |
| 465 | for( const auto ee : geode::LRange{ grid->nb_polygon_edges( p ) } ) |
| 466 | { |
| 467 | const auto edge = grid->polygon_adjacent_edge( { p, ee } ); |
| 468 | geode_unused( edge ); |
| 469 | } |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | void test_around_vertex( const geode::RegularGrid3D& grid ) |
| 474 | { |
no test coverage detected