Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSegmentTree3
Description
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.
| Name | Build |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SegmentTree3.h |
| Include Path | #include "Spatial/SegmentTree3.h" |
template<typename SegmentIDEnumerable, typename GetSegmentFunc>
void Build
(
SegmentIDEnumerable Enumerable,
GetSegmentFunc GetSegmentForID,
int32 NumSegmentsHint
)