MobilityDB 1.1
Functions

Comparison functions for box types. More...

Collaboration diagram for Comparison functions:

Functions

int stbox_cmp (const STBox *box1, const STBox *box2)
 Return -1, 0, or 1 depending on whether the first spatiotemporal box is less than, equal, or greater than the second one. More...
 
bool stbox_eq (const STBox *box1, const STBox *box2)
 Return true if the spatiotemporal boxes are equal. More...
 
bool stbox_ge (const STBox *box1, const STBox *box2)
 Return true if the first spatiotemporal box is greater than or equal to the second one. More...
 
bool stbox_gt (const STBox *box1, const STBox *box2)
 Return true if the first spatiotemporal box is greater than the second one. More...
 
bool stbox_le (const STBox *box1, const STBox *box2)
 Return true if the first spatiotemporal box is less than or equal to the second one. More...
 
bool stbox_lt (const STBox *box1, const STBox *box2)
 Return true if the first spatiotemporal box is less than the second one. More...
 
bool stbox_ne (const STBox *box1, const STBox *box2)
 Return true if the spatiotemporal boxes are different. More...
 
int tbox_cmp (const TBox *box1, const TBox *box2)
 Return -1, 0, or 1 depending on whether the first temporal box is less than, equal to, or greater than the second one. More...
 
bool tbox_eq (const TBox *box1, const TBox *box2)
 Return true if the temporal boxes are equal. More...
 
bool tbox_ge (const TBox *box1, const TBox *box2)
 Return true if the first temporal box is greater than or equal to the second one. More...
 
bool tbox_gt (const TBox *box1, const TBox *box2)
 Return true if the first temporal box is greater than the second one. More...
 
bool tbox_le (const TBox *box1, const TBox *box2)
 Return true if the first temporal box is less than or equal to the second one. More...
 
bool tbox_lt (const TBox *box1, const TBox *box2)
 Return true if the first temporal box is less than the second one. More...
 
bool tbox_ne (const TBox *box1, const TBox *box2)
 Return true if the temporal boxes are different. More...
 

Detailed Description

Comparison functions for box types.