Table of Contents

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>
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

worldBounds BoundVolume

The immutable world bounds covered by the octree.

options SwiftOctreeOptions

Backend-neutral octree options.

minNodeSize float

The minimum child-node axis length allowed for numerics subdivision.