UE::MeshCurvature::MeanCurvatureNormal

Calculate the Discrete Mean-Curvature Normal at a vertex as defined by discrete differential geometry.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "MeshCurvature.h"

Source

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

Syntax

namespace UE
{
    namespace MeshCurvature
    {
        FVector3d UE::MeshCurvature::MeanCurvatureNormal
        (
            const FDynamicMesh3 & Mesh,
            int32 VertexIndex,
            TFunctionRef< FVector3d)> VertexPositionFunc
        )
    }
}

Remarks

Calculate the Discrete Mean-Curvature Normal at a vertex as defined by discrete differential geometry. Based on Eq 8 from "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds", Meyer et al 2002 The Discrete Mean-Curvature Normal is (2.0 * MeanCurvature * SurfaceNormal) ((unclear why it has the 2.0))

Parameters

Parameter

Description

VertexPositionFunc

use positions returned by this function instead of mesh positions

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