Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSegmentTree3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Spatial/SegmentTree3.h | |||
void Build
(
SegmentIDEnumerable Enumerable, |
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. | Spatial/SegmentTree3.h |
Build(const TArray< FSegment3d > &)
| Name | Build |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SegmentTree3.h |
| Include Path | #include "Spatial/SegmentTree3.h" |
void Build
(
const TArray < FSegment3d > & Segments
)
Build(SegmentIDEnumerable, GetSegmentFunc, int32)
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
)