FDynamicMesh3::GetTriInfo

Compute triangle normal, area, and centroid all at once.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "DynamicMesh3.h"

Source

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

Syntax

void GetTriInfo
(
    int TriangleID,
    FVector3d & Normal,
    double & Area,
    FVector3d & Centroid
) const

Remarks

Compute triangle normal, area, and centroid all at once. Re-uses vertex lookups and computes normal & area simultaneously. However does not produce the same normal/area as separate calls, because of this.

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