Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshQueries
Description
Compute the length for each edge and return the result as an array of Mesh.MaxEdgeID() size. When mesh is not compact, the length of the missing edges is set to -1.0
| Name | GetAllEdgeLengths |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include Path | #include "MeshQueries.h" |
static void GetAllEdgeLengths
(
const TriangleMeshType & Mesh,
TArray < double > & Lengths,
double & TotalLength
)