Box

Bounding box class.

Constructor

new Box(boundsArropt)

Parameters:
NameTypeAttributesDescription
boundsArrNumberArray6<optional>

Methods

setFromBoundsArr(bounds)

Sets bounding box coordinates by the bounds array.

Parameters:
NameTypeDescription
boundsNumberArray6

Bounds is an array where [minX, minY, minZ, maxX, maxY, maxZ]

setFromExtent(ellipsoid, extent)

Sets bounding box coordinates by ellipsoid geodetic extend.

Parameters:
NameTypeDescription
ellipsoidEllipsoid

Ellipsoid.

extentExtent

Geodetic extent.