Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h |
Include |
#include "MeshWeights.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshWeights.cpp |
static FVector3d CotanCentroid
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
TFunctionRef< FVector3d)> VertexPositionFunc
)
Compute cotan-weighted centroid of a vertex one-ring. These weights are numerically unstable if any of the triangles are degenerate. We catch these problems and return input vertex as centroid