/Engine/Source/Runtime/GeometryCore/Public/Spatial/SegmentTree3.h
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.
template<typename SegmentIDEnumerable, typename GetSegmentFunc> void Build ( SegmentIDEnumerable Enumerable, GetSegmentFunc GetSegmentForID, int32 NumSegmentsHint )