Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoundingBox

Represents a rectangular area that is defined by two corners: bottom-left (or south-west) and top-right (or north-east). Used for specifying map sizes and determining feature limits.

Hierarchy

  • BoundingBox

Implements

Index

Constructors

constructor

  • Initializes this bounding box using an existing one.

    Parameters

    Returns BoundingBox

  • Initializes this bounding box with the given corners.

    Parameters

    • southWest: ILatLon | string

      The south-west corner.

    • northEast: ILatLon | string

      The north-east corner.

    Returns BoundingBox

Properties

ne

ne: LatLon

The north-east corner of the BoundingBox.

sw

sw: LatLon

The south-west corner of the BoundingBox.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.BoundingBox"

Methods

contains

  • contains(iLatLon: ILatLon): boolean
  • Whether or not the given LatLon coordinate point is contained in the area of the BoundingBox.

    Parameters

    Returns boolean

equals

  • equals(arg: any): boolean
  • Whether or not this BoundingBox is equal to another BoundingBox.

    Parameters

    • arg: any

    Returns boolean

getNorthEast

getSouthWest

intersects

  • Returns true if this BoundingBox area intersects the other BoundingBox area specified.

    Parameters

    Returns boolean

toJson

  • toJson(): Object
  • Returns Object

unionWith

  • Returns the union of this BoundingBox and the other BoundingBox specified.

    Parameters

    Returns BoundingBox

Generated using TypeDoc