A.2. Functions and Operators for Box Types

A.2.1. Constructor Functions

A.2.2. Casting

A.2.3. Accessor Functions

  • hasX: Has X dimension?

  • hasZ: Has Z dimension?

  • hasT: Has T dimension?

  • Xmin: Get the minimum X value

  • Xmax: Get the maximum X value

  • Ymin: Get the minimum Y value

  • Ymax: Get the maximum Y value

  • Zmin: Get the minimum Z value

  • Zmax: Get the maximum Z value

  • Tmin: Get the minimum T value

  • Tmax: Get the maximum T value

A.2.4. Modification Functions

  • expandValue: Expand the numeric value dimension of the bounding box by a float value

  • expandSpatial: Expand the spatial value dimension of the bounding box by a float value

  • expandTemporal: Expand the temporal dimension of the bounding box by a time interval

  • round: Round the value or the coordinates of the bounding box to a number of decimal places

A.2.5. Spatial Reference System Functions

  • SRID: Get the spatial reference identifier

  • setSRID: Set the spatial reference identifier

  • transform: Transform to a different spatial reference

A.2.6. Aggregate Functions

A.2.7. Comparison Operators

  • =: Are the bounding boxes equal?

  • <>: Are the bounding boxes different?

  • <: Is the first bouding box less than the second one?

  • >: Is the first bouding box greater than the second one?

  • <=: Is the first bouding box less than or equal to the second one?

  • >=: Is the first bouding box greater than or equal to the second one?

A.2.8. Set Operators

  • +: Union of the bounding boxes

  • *: Intersection of the bounding boxes

A.2.9. Topological Operators

  • &&: Do the bounding boxes overlap?

  • @>: Does the first bounding box contain the second one?

  • <@: Is the first bounding box contained in the second one?

  • ~=: Are the bounding boxes equal in their common dimensions?

  • -|-: Are the bounding boxes adjacent?

A.2.10. Relative Position Operators

  • <<: Are the X values of the first bounding box strictly less than those of the second one?

  • >>: Are the X values of the first bounding box strictly greater than those of the second one?

  • &<: Are the X values of the first bounding box not greater than those of the second one?

  • &>: Are the X values of the first bounding box not less than those of the second one?

  • <<: Are the X values of the first bounding box strictly to the left of those of the second one?

  • >>: Are the X values of the first bounding box strictly to the right of those of the second one?

  • &<: Are the X values of the first bounding box not to the right of those of the second one?

  • &>: Are the X values of the first bounding box not to the left of those of the second one?

  • <<|: Are the Y values of the first bounding box strictly below of those of the second one?

  • |>>: Are the Y values of the first bounding box strictly above of those of the second one?

  • &<|: Are the Y values of the first bounding box not above of those of the second one?

  • |&>: Are the Y values of the first bounding box not below of those of the second one?

  • <</: Are the Z values of the first bounding box strictly in front of those of the second one?

  • />>: Are the Z values of the first bounding box strictly back of those of the second one?

  • &</: Are the Z values of the first bounding box not back of those of the second one?

  • /&>: Are the Z values of the first bounding box not in front of those of the second one?

  • <<#: Are the T values of the first bounding box strictly before those of the second one?

  • #>>: Are the T values of the first bounding box strictly after those of the second one?

  • &<#: Are the T values of the first bounding box not after those of the second one?

  • #&>: Are the T values of the first bounding box not before those of the second one?