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

◆ compare_double()

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

Definition at line 1073 of file lwlinearreferencing.c.

1074{
1075 double a = *((double *)pa);
1076 double b = *((double *)pb);
1077 if (a < b)
1078 return -1;
1079 else if (a > b)
1080 return 1;
1081 else
1082 return 0;
1083}

Referenced by lwgeom_cpa_within(), and lwgeom_tcpa().

Here is the caller graph for this function: