A simple representation of a bounding box.

Export

Hierarchy

  • MPBounds

Constructors

Properties

Accessors

Methods

Constructors

Properties

northeast: MPPoint

The northeastern most point.

southwest: MPPoint

The southwestern most point.

Builder: typeof __class = ...

Construct a bounds object from a collection of points, to ensure that the bounds contains all of them.

Accessors

Methods

  • Check whether a point is containted within the bounds.

    Parameters

    Returns boolean

  • Returns {
        northeast: number[];
        southwest: number[];
    }

    • northeast: number[]
    • southwest: number[]

Generated using TypeDoc