Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Implicit > API/Runtime/GeometryCore/Implicit/TCachingMeshSDF
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Implicit/CachingMeshSDF.h |
| Include | #include "Implicit/CachingMeshSDF.h" |
static bool PointInTriangle2d
&40;
double X0,
double Y0,
double X1,
double Y1,
double X2,
double Y2,
double X3,
double Y3,
double & A,
double & B,
double & C
&41;
Remarks
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.