@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPBounds

    A simple representation of a bounding box.

    MPBounds

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Creates an instance of MPBounds.

      Parameters

      • northeast: MPPoint

        The northeastern most point.

      • southwest: MPPoint

        The southwestern most point.

      Returns MPBounds

    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

    • get center(): MPPoint

      The center of the bounds.

      Returns MPPoint

    Methods

    • Check whether a point is containted within the bounds.

      Parameters

      Returns boolean

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

    • Create a MPBounds from a Bounding Box.

      Parameters

      • bbox: number[]

      Returns MPBounds