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

Function point_side_to_triangle

src/geode/geometry/position.cpp:314–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 }
313
314 SIDE point_side_to_triangle(
315 const Point3D& point, const Triangle3D& triangle )
316 {
317 const auto& vertices = triangle.vertices();
318 return internal::side( GEO::PCK::orient_3d(
319 vertices[0], vertices[1], vertices[2], point ) );
320 }
321
322 template <>
323 bool opengeode_geometry_api are_points_aligned(

Calls 2

sideFunction · 0.85
orient_3dFunction · 0.85

Tested by 1