Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FEdgeSpan
Description
Split a single EdgeSpan into multiple subspans based on an edge angle threshold. Subspans are copied out, the original span is not modified.
| Name | GetSubspansByAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/EdgeSpan.h |
| Include Path | #include "EdgeSpan.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/EdgeSpan.cpp |
void GetSubspansByAngle
(
double AngleThresholdDeg,
int32 MinSpanSize,
TArray < FEdgeSpan > & OutSpans
) const
Parameters
| Name | Remarks |
|---|---|
| AngleThresholdDeg | max angle between adjacant edges to mark a vertex as a "corner" (in degrees). Angle is measured between edge vectors extending from their common vertex, so a value of 180 means all vertices would be labelled as corners. |
| MinSpanSize | minimum number of edges necessary for a subspan, regardless of angles between edges. Subspans that would be too small are merged to adjacent subspans. |
| OutSpan | output subspans |