bool BarycentricCoordsTri(const double verts[], const double pt[], double lambda[])
void QuadToTris(const int quad[4], int tris[2 *3])
void HexahedronToTets(const int hexahedron[8], int tets[5 *4])
bool WachspressCoords2D(const double verts[], const double pt[], int n, double lambda[])
double SignedTriArea2D(const double a[2], const double b[2], const double c[2])
bool InsideConvexPolygon(const double verts[], const double pt[], int n)