Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshWeights > API/Plugins/DynamicMesh/FMeshWeights/CotanCentroid
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h |
| Include | #include "MeshWeights.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshWeights.cpp |
static FVector3d CotanCentroid
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
TFunctionRef < FVector3d )> VertexPositionFunc
)
Remarks
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