MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Comparison functions for static network points. More...

Functions

int npoint_cmp (const Npoint *np1, const Npoint *np2)
 Return -1, 0, or 1 depending on whether the first network point is less than, equal to, or greater than the second one. More...
 
bool npoint_eq (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is equal to the second one. More...
 
bool npoint_ge (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is greater than or equal to the second one. More...
 
bool npoint_gt (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is greater than the second one. More...
 
bool npoint_le (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is less than or equal to the second one. More...
 
bool npoint_lt (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is less than the second one. More...
 
bool npoint_ne (const Npoint *np1, const Npoint *np2)
 Return true if the first network point is not equal to the second one. More...
 
bool npoint_same (const Npoint *np1, const Npoint *np2)
 Return true if two network points are approximately equal with respect to an epsilon value. More...
 
int nsegment_cmp (const Nsegment *ns1, const Nsegment *ns2)
 Return -1, 0, or 1 depending on whether the first network segment is less than, equal to, or greater than the second one. More...
 
bool nsegment_eq (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is equal to the second one. More...
 
bool nsegment_ge (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is greater than or equal to the second one. More...
 
bool nsegment_gt (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is greater than the second one. More...
 
bool nsegment_le (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is less than or equal to the second one. More...
 
bool nsegment_lt (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is less than the second one. More...
 
bool nsegment_ne (const Nsegment *ns1, const Nsegment *ns2)
 Return true if the first network segment is not equal to the second one. More...
 

Detailed Description

Comparison functions for static network points.