Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshQueries
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include | #include "MeshQueries.h" |
static void GetTriNormalAreaCentroid
&40;
const TriangleMeshType & Mesh,
int TriIdx,
FVector3d & Normal,
double & Area,
FVector3d & Centroid
&41;
Remarks
Compute the normal, area, and centroid of a triangle all together
Parameters
| Name | Description |
|---|---|
| Mesh | Mesh w/ triangle |
| TriIdx | Index of triangle |
| Normal | Computed normal (returned by reference) |
| Area | Computed area (returned by reference) |
| Centroid | Computed centroid (returned by reference) |