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

Function optuse_system3D

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

Source from the content-addressed store, hash-verified

116}
117
118void optuse_system3D()
119{
120 geode::Logger::info( "Optuse system3D" );
121 const geode::CoordinateSystem3D coord_system{
122 { geode::Vector3D{ { -1, 0, 0 } }, geode::Vector3D{ { -2, -1, 0 } },
123 geode::Vector3D{ { 1, 3, 2 } } },
124 geode::Point3D{ { -1, 1, -1 } }
125 };
126 check_point( coord_system, geode::Point3D{ { -1, 1, -1 } },
127 geode::Point3D{ { 0, 0, 0 } } );
128 check_point( coord_system, geode::Point3D{ { -3, 3, 1 } },
129 geode::Point3D{ { 1, 1, 1 } } );
130 check_point( coord_system, geode::Point3D{ { -1, -1, -3 } },
131 geode::Point3D{ { 1, -1, -1 } } );
132 check_point( coord_system, geode::Point3D{ { -9.75, -4.5, -2 } },
133 geode::Point3D{ { 0.25, 4, -0.5 } } );
134}
135
136void test()
137{

Callers 1

testFunction · 0.85

Calls 2

infoFunction · 0.85
check_pointFunction · 0.85

Tested by

no test coverage detected