| 78 | } |
| 79 | |
| 80 | void orthonormal_system3D() |
| 81 | { |
| 82 | geode::Logger::info( "Orthonormal system 3D" ); |
| 83 | const geode::CoordinateSystem3D coord_system{ |
| 84 | { geode::Vector3D{ { 1, 0, 0 } }, geode::Vector3D{ { 0, 1, 0 } }, |
| 85 | geode::Vector3D{ { 0, 0, 1 } } }, |
| 86 | geode::Point3D{ { 0, 0, 0 } } |
| 87 | }; |
| 88 | check_point( coord_system, geode::Point3D{ { 0, 1, 0 } }, |
| 89 | geode::Point3D{ { 0, 1, 0 } } ); |
| 90 | check_point( coord_system, geode::Point3D{ { 0, 0, 1 } }, |
| 91 | geode::Point3D{ { 0, 0, 1 } } ); |
| 92 | check_point( coord_system, geode::Point3D{ { 1, 1, 1 } }, |
| 93 | geode::Point3D{ { 1, 1, 1 } } ); |
| 94 | check_point( coord_system, geode::Point3D{ { 2, 2, 2 } }, |
| 95 | geode::Point3D{ { 2, 2, 2 } } ); |
| 96 | check_point( coord_system, geode::Point3D{ { -2, -2, -2 } }, |
| 97 | geode::Point3D{ { -2, -2, -2 } } ); |
| 98 | } |
| 99 | |
| 100 | void acute_system3D() |
| 101 | { |
no test coverage detected