Skip to content

triangle3ContainsPoint

triangle3ContainsPoint(t, p): boolean

Defined in: triangle3.ts:36

Tests whether p lies inside or on the boundary of the triangle. p must be coplanar with the triangle for a meaningful result. Uses barycentric coordinates computed via the cross product method.

Triangle3

Point3

boolean