Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/FastWinding.h |
| Include | #include "Spatial/FastWinding.h" |
namespace FastTriWinding
{
template<class TriangleMeshType>
void FastTriWinding&58;&58;ComputeCoeffs
&40;
const TriangleMeshType & Mesh,
const TSet< int > & TriangleSet,
const FMeshTriInfoCache & TriCache,
FVector3d & P,
double & R,
FVector3d & Order1,
FMatrix3d & Order2,
int NumTasks
&41;
}
Remarks
Precompute constant coefficients of triangle winding number approximation (evaluated in parallel for large sets of triangles) P: 'Center' of expansion for Triangles (area-weighted centroid avg) R: max distance from P to Triangles Order1: first-order vector coeff Order2: second-order matrix coeff TriCache: precomputed triangle centroid/normal/area