PostGIS  2.3.7dev-r@@SVN_REVISION@@
static int compare_double ( const void *  pa,
const void *  pb 
)
static

Definition at line 1007 of file lwlinearreferencing.c.

Referenced by lwgeom_cpa_within(), and lwgeom_tcpa().

1008 {
1009  double a = *((double *)pa);
1010  double b = *((double *)pb);
1011  if ( a < b )
1012  return -1;
1013  else if ( a > b )
1014  return 1;
1015  else
1016  return 0;
1017 }

Here is the caller graph for this function: