Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TConvexHull3
Description
Useful helper for walking the border of a convex region, or of a QHull horizon. Will also work for extracting a group boundary for any closed triangle mesh. Note: Assumes TriangleNeighbors are listed such that the first neighbor is the tri across from the (Tri.A, Tri.B) edge
| Name | WalkBorder |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexHull3.h |
| Include Path | #include "CompGeom/ConvexHull3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexHull3.cpp |
static void WalkBorder
(
const TArray < FIndex3i > & Triangles,
const TArray < FIndex3i > & TriangleNeighbors,
TFunctionRef < bool> InGroupFunc,
int32 StartIdx,
TArray < int32 > & OutBorderVertexIndices
)