Show:

A 3D bounding box. For 2D envelopes, see gdal.Envelope.

(Pure-javascript implementation of OGREnvelope3D)

Constructor

gdal.Envelope3D
(
  • bounds
)

Parameters:

  • bounds Object

    An object containing minX, maxX, minY, maxY, minZ, and maxZ values.

Methods

contains
(
  • envelope
)
Boolean

Determines if the provided envelope is wholly-contained by the current envelope.

Parameters:

Returns:

Boolean
intersect
(
  • envelope
)
Void

Updates the envelope to the intersection of the two envelopes.

Parameters:

Returns:

Void
intersects
(
  • envelope
)
Boolean

Determines if the provided envelope touches it.

Parameters:

Returns:

Boolean
isEmpty () Boolean

Determines if the envelope has not been set yet.

Returns:

Boolean
merge
(
  • envelope
)
Void

Unions the provided envelope with the current envelope.

Parameters:

Returns:

Void