| 35 | |
| 36 | template < geode::index_t dimension > |
| 37 | geode::BoundingBox< dimension > create_bounding_box( |
| 38 | const geode::Point< dimension >& center, double box_size ) |
| 39 | { |
| 40 | geode::Point< dimension > temp; |
| 41 | for( const auto c : geode::LRange{ dimension } ) |
| 42 | { |
| 43 | temp.set_value( c, box_size ); |
| 44 | } |
| 45 | geode::BoundingBox< dimension > box; |
| 46 | box.add_point( center - temp ); |
| 47 | box.add_point( center + temp ); |
| 48 | return box; |
| 49 | } |
| 50 | |
| 51 | template < geode::index_t dimension > |
| 52 | std::vector< geode::BoundingBox< dimension > > create_box_vector( |
no test coverage detected