MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / orthonormal_system3D

Function orthonormal_system3D

tests/geometry/test-coordinate-system.cpp:80–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void 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
100void acute_system3D()
101{

Callers 1

testFunction · 0.85

Calls 2

infoFunction · 0.85
check_pointFunction · 0.85

Tested by

no test coverage detected