MSFLocalSpatialIndexType

Objective-C

enum MSFLocalSpatialIndexType : NSInteger {}

Swift

enum MSFLocalSpatialIndexType : Int, @unchecked Sendable

Spatial index type for local data source.

  • Null index, fastest if few elements are used. No element culling is performed.

    Declaration

    Objective-C

    MSF_LOCAL_SPATIAL_INDEX_TYPE_NULL

    Swift

    case LOCAL_SPATIAL_INDEX_TYPE_NULL = 0
  • K-d tree index, element culling is exact and fast.

    Declaration

    Objective-C

    MSF_LOCAL_SPATIAL_INDEX_TYPE_KDTREE

    Swift

    case LOCAL_SPATIAL_INDEX_TYPE_KDTREE = 1