Class: BoundaryBox

.Geo. BoundaryBox


new BoundaryBox(boundaryBox)

A GeoJSON BoundaryBox object

Parameters:
Name Type Description
boundaryBox Array

An array with [min. longitude, min. latitude, max. longitude, max. latitude]

Example
var boundaryBox = new jsonOdm.Geo.BoundaryBox([-180.00,-90.00,180.00,90.00]);

Methods


<static> within(bounds, geometry)

Checks whether a BoundaryBox is inside of another geometry

Parameters:
Name Type Description
bounds jsonOdm.Geo.BoundaryBox
geometry jsonOdm.Geo.Point | jsonOdm.Geo.BoundaryBox | jsonOdm.Geo.MultiPoint | jsonOdm.Geo.LineString | jsonOdm.Geo.MultiLineString | jsonOdm.Geo.Polygon | jsonOdm.Geo.MultiPolygon | jsonOdm.Geo.GeometryCollection

Any jsonOdm.Geo.<geometry> object

Returns:
Type
boolean