Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GeoTree

Index

Constructors

constructor

  • Parameters

    Returns GeoTree

Properties

Readonly density

density: number

Readonly depth

depth: number

Readonly geoBounds

geoBounds: GeoBox

Readonly geoCenter

geoCenter: GeoPoint

Readonly geoFrame

geoFrame: GeoBox

Readonly maxDepth

maxDepth: number

Readonly northEast

northEast: null | GeoTree

Readonly northWest

northWest: null | GeoTree

Readonly size

size: number

Readonly southEast

southEast: null | GeoTree

Readonly southWest

southWest: null | GeoTree

Readonly views

views: readonly GeoView[]

Methods

contains

  • contains(bounds: GeoBox): boolean
  • Parameters

    Returns boolean

Protected createTree

  • Parameters

    • depth: number
    • maxDepth: number
    • density: number
    • geoFrame: GeoBox
    • Optional geoBounds: GeoBox
    • Optional geoCenter: GeoPoint
    • Optional southWest: null | GeoTree
    • Optional northWest: null | GeoTree
    • Optional southEast: null | GeoTree
    • Optional northEast: null | GeoTree
    • Optional views: readonly GeoView[]
    • Optional size: number

    Returns GeoTree

forEach

  • forEach<T>(callback: (view: GeoView) => void | T): undefined | T
  • forEach<T, S>(callback: (view: GeoView) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (view: GeoView) => void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (view: GeoView) => void | T
    • thisArg: S

    Returns undefined | T

forEachIntersecting

  • forEachIntersecting<T>(bounds: GeoBox, callback: (view: GeoView) => void | T): undefined | T
  • forEachIntersecting<T, S>(bounds: GeoBox, callback: (view: GeoView) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    Returns undefined | T

forEachNonIntersecting

  • forEachNonIntersecting<T>(bounds: GeoBox, callback: (view: GeoView) => void | T): undefined | T
  • forEachNonIntersecting<T, S>(bounds: GeoBox, callback: (view: GeoView) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    Returns undefined | T

forEachReverse

  • forEachReverse<T>(callback: (view: GeoView) => void | T): undefined | T
  • forEachReverse<T, S>(callback: (view: GeoView) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (view: GeoView) => void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (view: GeoView) => void | T
    • thisArg: S

    Returns undefined | T

getTree

  • Parameters

    Returns GeoTree

has

  • Parameters

    Returns boolean

inserted

  • Parameters

    Returns GeoTree

intersects

  • intersects(bounds: GeoBox): boolean
  • Parameters

    Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

moved

  • Parameters

    Returns GeoTree

removed

  • Parameters

    Returns GeoTree

Static empty

  • empty(geoFrame?: GeoBox, depth?: number, maxDepth?: number, density?: number): GeoTree
  • Parameters

    • Optional geoFrame: GeoBox
    • Optional depth: number
    • Optional maxDepth: number
    • Optional density: number

    Returns GeoTree

Generated using TypeDoc