Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISpatialSet<K>

Type parameters

  • K

Hierarchy

Index

Properties

Readonly size

size: number

Methods

[Symbol.iterator]

  • [Symbol.iterator](): Iterator<K, any, undefined>
  • Returns Iterator<K, any, undefined>

add

  • add(key: K, eps?: number): boolean

clear

  • clear(): void
  • Returns void

copy

  • Returns a copy of this instance. Shallow or deep copies are implementation specific.

    Returns ISpatialSet<K>

empty

  • Returns an empty/blank instance of same type (with possibly same config, if any).

    Returns ISpatialSet<K>

get

  • get(key: K, eps?: number): undefined | K

has

  • has(key: K, eps?: number): boolean

into

  • into(keys: Iterable<K>, eps?: number): boolean

keys

  • keys(): IterableIterator<K>

remove

  • remove(key: K): boolean

values

  • values(): IterableIterator<K>

Generated using TypeDoc