Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FSegmentTree3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SegmentTree3.h |
| Include | #include "Spatial/SegmentTree3.h" |
template<typename SegmentIDEnumerable, typename GetSegmentFunc>
void Build
&40;
SegmentIDEnumerable Enumerable,
GetSegmentFunc GetSegmentForID,
int32 NumSegmentsHint
&41;
Remarks
Build the segment tree based on the given Enumerable (ie something that supports a range-based for loop over a set of integer IDs) and a function GetSegmentForID that returns the 3D line segment for a given ID. Gaps/etc are allowed but all enumerated IDs must be valid.