| 30 | |
| 31 | template < geode::index_t dimension > |
| 32 | void check_point( const geode::CoordinateSystem< dimension >& coord_system, |
| 33 | const geode::Point< dimension >& input, |
| 34 | const geode::Point< dimension >& output ) |
| 35 | { |
| 36 | const auto coordinates = coord_system.coordinates( input ); |
| 37 | geode::OpenGeodeGeometryException::test( |
| 38 | coordinates.inexact_equal( output ), "Wrong coordinates ", dimension, |
| 39 | "D" ); |
| 40 | const auto global_point = coord_system.global_coordinates( coordinates ); |
| 41 | geode::OpenGeodeGeometryException::test( |
| 42 | input.inexact_equal( global_point ), "Wrong global coordinates ", |
| 43 | dimension, "D" ); |
| 44 | } |
| 45 | |
| 46 | void acute_system2D() |
| 47 | { |
no test coverage detected