FMeshWeights::CotanCentroid

Compute cotan-weighted centroid of a vertex one-ring.

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 CotanCentroid
(
    const FDynamicMesh3 & mesh,
    int VertexIndex
)

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

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