Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshCurvature.h |
Include |
#include "MeshCurvature.h" |
Source |
/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshCurvature.cpp |
namespace UE
{
namespace MeshCurvature
{
FVector3d UE::MeshCurvature::MeanCurvatureNormal
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
TFunctionRef< FVector3d)> VertexPositionFunc
)
}
}
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))
Parameter |
Description |
---|---|
VertexPositionFunc |
use positions returned by this function instead of mesh positions |