Table of Contents

Class SwiftSpatialHash<TKey>

Namespace
SwiftCollections.Query
Assembly
SwiftCollections.dll

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

public class SwiftSpatialHash<TKey> : SwiftSpatialHash<TKey, BoundVolume> where TKey : notnull

Type Parameters

TKey
Inheritance
SwiftSpatialHash<TKey>
Inherited Members

Constructors

SwiftSpatialHash(int, float)

Initializes a new instance of the SwiftSpatialHash<TKey> class with the specified capacity and cell size.

public SwiftSpatialHash(int capacity, float cellSize)

Parameters

capacity int
cellSize float

SwiftSpatialHash(int, float, SwiftSpatialHashOptions)

Initializes a new instance of the SwiftSpatialHash<TKey> class with the specified capacity, cell size, and options.

public SwiftSpatialHash(int capacity, float cellSize, SwiftSpatialHashOptions options)

Parameters

capacity int
cellSize float
options SwiftSpatialHashOptions