ST_3DMakeBox

Name

ST_3DMakeBox — Creates a BOX3D defined by the given 3d point geometries.

Synopsis

box3d ST_3DMakeBox ( geometry point3DLowLeftBottom , geometry point3DUpRightTop ) ;

Description

Creates a BOX3D defined by the given 2 3D point geometries.

This function supports 3d and will not drop the z-index.

Changed: 2.0.0 In prior versions this used to be called ST_MakeBox3D

Examples

SELECT ST_3DMakeBox(ST_MakePoint(-989502.1875, 528439.5625, 10),
	ST_MakePoint(-987121.375 ,529933.1875, 10)) As abb3d

--bb3d--
--------
BOX3D(-989502.1875 528439.5625 10,-987121.375 529933.1875 10)