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, class IterableTriangleIndices>
void FastTriWinding::ComputeCoeffsSerial
(
const TriangleMeshType & Mesh,
const IterableTriangleIndices & Triangles,
const FMeshTriInfoCache & TriCache,
FVector3d & P,
double & R,
FVector3d & Order1,
FMatrix3d & Order2
)
}
Remarks
Precompute constant coefficients of triangle winding number approximation (serial implementation) 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