MCPcopy Create free account
hub / github.com/christopherbatty/SDFGen / point_in_triangle_2d

Function point_in_triangle_2d

makelevelset3.cpp:98–116  ·  view source on GitHub ↗

robust test of (x0,y0) in the triangle (x1,y1)-(x2,y2)-(x3,y3) if true is returned, the barycentric coordinates are set in a,b,c.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

make_level_set3Function · 0.85

Calls 1

orientationFunction · 0.85

Tested by

no test coverage detected