Class SwiftOctree<TKey>
- Namespace
- SwiftCollections.Query
- Assembly
- SwiftCollections.dll
Represents a numerics-backed octree optimized for hierarchical spatial queries.
public sealed class SwiftOctree<TKey> : SwiftOctree<TKey, BoundVolume> where TKey : notnull, IEquatable<TKey>
Type Parameters
TKey
- Inheritance
-
SwiftOctree<TKey, BoundVolume>SwiftOctree<TKey>
- Inherited Members
Constructors
SwiftOctree(BoundVolume, SwiftOctreeOptions, float)
Initializes a new instance of the SwiftOctree<TKey> class.
public SwiftOctree(BoundVolume worldBounds, SwiftOctreeOptions options, float minNodeSize)
Parameters
worldBoundsBoundVolumeThe immutable world bounds covered by the octree.
optionsSwiftOctreeOptionsBackend-neutral octree options.
minNodeSizefloatThe minimum child-node axis length allowed for numerics subdivision.