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

Function acute_system3D

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

Source from the content-addressed store, hash-verified

98}
99
100void acute_system3D()
101{
102 geode::Logger::info( "Acute system 3D" );
103 const geode::CoordinateSystem3D coord_system{
104 { geode::Vector3D{ { 1, 0, 0 } }, geode::Vector3D{ { 1, 1, 0 } },
105 geode::Vector3D{ { 1, 1, 1 } } },
106 geode::Point3D{ { 1, 1, 1 } }
107 };
108 check_point( coord_system, geode::Point3D{ { 1, 1, 1 } },
109 geode::Point3D{ { 0, 0, 0 } } );
110 check_point( coord_system, geode::Point3D{ { 4, 3, 2 } },
111 geode::Point3D{ { 1, 1, 1 } } );
112 check_point( coord_system, geode::Point3D{ { 0, -1, 0 } },
113 geode::Point3D{ { 1, -1, -1 } } );
114 check_point( coord_system, geode::Point3D{ { 4.75, 4.5, 0.5 } },
115 geode::Point3D{ { 0.25, 4, -0.5 } } );
116}
117
118void optuse_system3D()
119{

Callers 1

testFunction · 0.85

Calls 2

infoFunction · 0.85
check_pointFunction · 0.85

Tested by

no test coverage detected