Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FSparseDynamicPointOctree3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicPointOctree3.h |
| Include | #include "Spatial/SparseDynamicPointOctree3.h" |
void ParallelInsertDensePointSet
(
int32 MaxPointID,
TFunctionRef < FVector3d > GetPositionFunc
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| GetPositionFunc | function that returns position of point (Required to reinsert points on expand) |