Skip to main content
Construct a Box3D from two corner POINTZ geometries. Coordinates are taken verbatim — no swapping or ordering validation. Point inputs without a Z dimension contribute z = 0. NULL or empty point inputs return NULL. Non-point inputs raise an error. SQL reference: ST_3DMakeBox

Signature

Parameters

ColumnOrName
required
Lower-left corner Point (POINTZ; missing Z treated as 0).
ColumnOrName
required
Upper-right corner Point (POINTZ; missing Z treated as 0).

Returns

Column
Box3D column.