Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSparseDynamicPointOctree3
Description
Insert a set of dense points with IDs in range [0, MaxPointID-1], in parallel. The points are only inserted in leaf nodes, at MaxTreeDepth level, so that value should be set conservatively. Parallel insertion is across root cells, so if the RootDimension is larger than the point set bounds, this will be slower than incremental construction. ConfigureFromPointCountEstimate() provides reasonable values for large point sets.
| Name | ParallelInsertDensePointSet |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicPointOctree3.h |
| Include Path | #include "Spatial/SparseDynamicPointOctree3.h" |
void ParallelInsertDensePointSet
(
int32 MaxPointID,
TFunctionRef < FVector3d> GetPositionFunc
)
Parameters
| Name | Remarks |
|---|---|
| GetPositionFunc | function that returns position of point (Required to reinsert points on expand) |