Table of Contents

Namespace SwiftCollections.Query

Classes

FixedBoundVolumeFactory

Creates FixedBoundVolume instances from FixedMathSharp bounds types.

SwiftBVH<T>

Represents a numerics-backed Bounding Volume Hierarchy (BVH) optimized for spatial queries.

SwiftBVH<TKey, TVolume>

Represents a Bounding Volume Hierarchy (BVH) optimized for spatial queries.

SwiftFixedBVH<T>

Represents a fixed-point Bounding Volume Hierarchy (BVH) optimized for spatial queries.

SwiftFixedOctree<T>

Represents a fixed-point octree optimized for deterministic hierarchical spatial queries.

SwiftFixedSpatialHash<T>

Represents a fixed-point spatial hash optimized for deterministic broad-phase spatial queries.

SwiftOctree<TKey>

Represents a numerics-backed octree optimized for hierarchical spatial queries.

SwiftOctree<TKey, TVolume>

Represents a mutable octree that stores keyed bounding volumes within immutable world bounds.

SwiftSpatialHash<TKey>

Represents a numerics-backed spatial hash optimized for high-churn broad-phase spatial queries.

SwiftSpatialHash<TKey, TVolume>

Represents a mutable spatial hash that indexes keyed bounding volumes into deterministic integer grid cells.

Structs

BoundVolume

Represents an axis-aligned bounding box (AABB) in 3D space.

FixedBoundVolume

Represents an axis-aligned bounding box (AABB) in 3D space using fixed-point math.

SwiftBVHNode<TKey, TVolume>

Represents a node in a Bounding Volume Hierarchy (BVH). Stores spatial data and maintains hierarchical relationships.

SwiftOctreeOptions

Controls node subdivision behavior for SwiftOctree<TKey, TVolume>.

SwiftSpatialHashCellIndex

Represents an integer cell coordinate in a spatial hash grid.

SwiftSpatialHashOptions

Controls neighborhood query behavior for SwiftSpatialHash<TKey, TVolume>.

Interfaces

IBoundVolume<TVolume>

Represents a strongly-typed bounding volume contract for spatial operations.

IOctreeBoundsPartitioner<TVolume>

Maps octree subdivision and containment behavior for a specific volume backend.

ISpatialHashCellMapper<TVolume>

Maps a query volume to the inclusive cell range occupied by that volume.