Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSparseDynamicPointOctree3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ParallelRangeQuery
(
const FAxisAlignedBox3d& Bounds, |
Collect PointIDs from all the cells with bounding boxes that intersect Bounds, where PredicateFunc passes Query is parallelized across Root cells. | Spatial/SparseDynamicPointOctree3.h | |
void ParallelRangeQuery
(
const FAxisAlignedBox3d& Bounds, |
Spatial/SparseDynamicPointOctree3.h |
ParallelRangeQuery(const FAxisAlignedBox3d &, TFunctionRef< bool(int)>, TArray< int > &, TArray< const FSparsePointOctreeCell > )
Description
Collect PointIDs from all the cells with bounding boxes that intersect Bounds, where PredicateFunc passes Query is parallelized across Root cells. So if there is only one Root cell, it's actually slower than RangeQuery() due to internal temp buffers.
| Name | ParallelRangeQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicPointOctree3.h |
| Include Path | #include "Spatial/SparseDynamicPointOctree3.h" |
void ParallelRangeQuery
(
const FAxisAlignedBox3d & Bounds,
TFunctionRef < bool> PredicateFunc,
TArray < int > & PointIDsOut,
TArray < const FSparsePointOctreeCell * > * TempBuffer
) const
Parameters
| Name | Remarks |
|---|---|
| Bounds | query box |
| PredicateFunc | return true if point should be included (ie this is a filter) |
| PointIDsOut | collected PointIDs are stored here |
| TempBuffer | optional temporary buffer to store a queue of cells (to avoid memory allocations) |
ParallelRangeQuery(const FAxisAlignedBox3d &, TFunctionRef< bool(const FAxisAlignedBox3d &Bounds)>, TFunctionRef< bool(int)>, TArray< int > &, TArray< const FSparsePointOctreeCell > )
| Name | ParallelRangeQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicPointOctree3.h |
| Include Path | #include "Spatial/SparseDynamicPointOctree3.h" |
void ParallelRangeQuery
(
const FAxisAlignedBox3d & Bounds,
TFunctionRef < bool> BoundsPredicateFunc,
TFunctionRef < bool> PredicateFunc,
TArray < int > & PointIDsOut,
TArray < const FSparsePointOctreeCell * > * TempBuffer
) const