gdal.Envelope
A 2D bounding box. For 3D envelopes, see gdal.Envelope3D.
(Pure-javascript implementation of OGREnvelope)
Table of Contents
Constructor
gdal.Envelope
(
-
bounds
Parameters:
-
[bounds]
Object optionalAn object containing
minX
,maxX
,minY
, andmaxY
values.
Methods
contains
(
Boolean
-
envelope
Determines if the provided envelope is wholly-contained by the current envelope.
Parameters:
-
envelope
gdal.Envelope
Returns:
Boolean
intersect
(
Void
-
envelope
Updates the envelope to the intersection of the two envelopes.
Parameters:
-
envelope
gdal.Envelope
Returns:
Void
intersects
(
Boolean
-
envelope
Determines if the provided envelope touches it.
Parameters:
-
envelope
gdal.Envelope
Returns:
Boolean
isEmpty
()
Boolean
Determines if the envelope has not been set yet.
Returns:
Boolean
merge
(
Void
-
envelope
Unions the provided envelope with the current envelope.
Parameters:
-
envelope
gdal.Envelope
Returns:
Void