FMeshWeights

[FMeshWeights](API\Plugins\DynamicMesh\FMeshWeights) implements various techniques for computing local weights of a mesh, for example one-ring weights like Cotangent or Mean-Value.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "MeshWeights.h"

Syntax

class FMeshWeights

Remarks

FMeshWeights implements various techniques for computing local weights of a mesh, for example one-ring weights like Cotangent or Mean-Value.

Constructors

Name Description

Protected function

FMeshWeights()

Functions

Name Description

Public function Static

FVector3d

 

CotanCentroid

(
    const FDynamicMesh3& mesh,
    int VertexIndex
)

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

Public function Static

FVector3d

 

MeanValueCentroid

(
    const FDynamicMesh3& mesh,
    int VertexIndex
)

Compute mean-value centroid of a vertex one-ring. These weights are strictly positive.

Public function Static

FVector3d

 

UniformCentroid

(
    const FDynamicMesh3& mesh,
    int VertexIndex
)

Compute uniform centroid of a vertex one-ring.

Public function Static

double

 

VoronoiArea

(
    const FDynamicMesh3& mesh,
    int VertexIndex
)

Compute the voronoi area associated with a vertex.

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