4.2. Constructor Functions

Type tbox has several constructor functions depending on whether the value and/or the time dimensions are given. These functions have two arguments for the minimum and maximum float values and/or two arguments for the minimum and maximum timestamptz values.

Type stbox has several constructor functions depending on whether the coordinates and/or the time dimensions are given. Furthermore, the coordinates can be 2D or 3D and can be either Cartesian or geodetic. These functions have several arguments for the minimum and maximum coordinate values and/or two arguments for the minimum and maximum timestamptz values. The SRID can be specified in an optional last argument. If not given, a value 0 (respectively 4326) is assumed by default for planar (respectively geodetic) boxes.