PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ compare_double()

static int compare_double ( const void *  pa,
const void *  pb 
)
static

Definition at line 1079 of file lwlinearreferencing.c.

1080{
1081 double a = *((double *)pa);
1082 double b = *((double *)pb);
1083 if (a < b)
1084 return -1;
1085 else if (a > b)
1086 return 1;
1087 else
1088 return 0;
1089}

Referenced by lwgeom_cpa_within(), and lwgeom_tcpa().

Here is the caller graph for this function: