box3d

Name

box3d — The type representing a 3-dimensional bounding box.

Description

box3d is a PostGIS spatial data type used to represent the three-dimensional bounding box enclosing a geometry or collection of geometries. For example, the ST_3DExtent aggregate function returns a box3d object.

The representation contains the values xmin, ymin, zmin, xmax, ymax, zmax . These are the minimum and maxium values of the X, Y and Z extents.

box3d objects have a text representation which looks like BOX3D(1 2 3,5 6 5) .

Casting Behavior

This table lists the automatic and explicit casts allowed for this data type:

Cast To Behavior
box automatic
box2d automatic
geometry automatic