UE::MeshCurvature::MeanCurvatureNormal

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

Choose your operating system:

Windows

macOS

Linux

References

Module

DynamicMesh

Header

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

Include

#include "MeshCurvature.h"

Source

/Engine/Plugins/Runtime/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