Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshWeights > API/Plugins/DynamicMesh/FMeshWeights/MeanValueCentroid
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 MeanValueCentroid
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
TFunctionRef < FVector3d )> VertexPositionFunc,
double WeightClamp
)
Remarks
Compute mean-value centroid of a vertex one-ring. These weights are strictly positive.