Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeoGroup<S>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new GeoGroup<S>(shapes: readonly S[]): GeoGroup<S>

Properties

Readonly boundingBox

boundingBox: null | GeoBox

Readonly shapes

shapes: readonly S[]

Accessors

bounds

  • Returns GeoBox

latMax

  • get latMax(): number
  • Returns number

latMin

  • get latMin(): number
  • Returns number

lngMax

  • get lngMax(): number
  • Returns number

lngMin

  • get lngMin(): number
  • Returns number

Methods

contains

  • contains(that: AnyGeoShape): boolean
  • contains(x: number, y: number): boolean
  • Parameters

    Returns boolean

  • Parameters

    • x: number
    • y: number

    Returns boolean

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

intersects

  • Parameters

    Returns boolean

isDefined

  • isDefined(): boolean
  • Returns boolean

project

toString

  • toString(): string
  • Returns string

union

Static empty

  • Type parameters

    Returns GeoGroup<S>

Static fromAny

Static isAny

  • Parameters

    • value: unknown

    Returns value is AnyGeoShape

Static of

  • Type parameters

    Parameters

    • Rest ...shapes: S[]

    Returns GeoGroup<S>

Generated using TypeDoc