BoundingBox
Represents an area bounded by a northeast and southwest.
A GeoJsonObject MAY have a member named "bbox" to include information on the coordinate range for its Geometry objects, Feature objects, or FeatureCollection objects.
When serialized, a BoundingBox is represented as an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the northeasterly point. The axes order of a BoundingBox follows the axes order of geometries.
For the BoundingBox to be serialized in 3D form, both Position objects must have a defined altitude.
See RFC 7946 Section 5 for the full specification.
Constructors
Construct a 2D BoundingBox from west, south, east, and north coordinates.
Construct a 3D BoundingBox from west, south, east, north coordinates with altitude bounds.
Construct a BoundingBox from two Position objects that represent the southwest corner and northeast corners.
Construct a BoundingBox with more than the standard three axes (longitude
, latitude
, altitude
) per corner.
Types
Factory methods for creating and serializing BoundingBox objects.
Properties
Whether this bounding box has altitude bounds.
The maximum altitude boundary, or null if this bounding box is 2D.
The minimum altitude boundary, or null if this bounding box is 2D.
The northeastern corner of the BoundingBox
The southwestern corner of the BoundingBox