FMeshWeights::FilteredUniformCentroid

Compute uniform centroid of a subset of vertex one-ring (eg boundary vertices) These weights are strictly positive and all equal to 1 / valence

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h

Include

#include "MeshWeights.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshWeights.cpp

Syntax

static FVector3d FilteredUniformCentroid
(
    const FDynamicMesh3 & Mesh,
    int32 VertexIndex,
    TFunctionRef< FVector3d)> VertexPositionFunc,
    TFunctionRef< bool)> VertexFilterFunc
)

Remarks

Compute uniform centroid of a subset of vertex one-ring (eg boundary vertices) These weights are strictly positive and all equal to 1 / valence

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss