PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

static int compare_scored_pointer ( const void *  si1,
const void *  si2 
)
static

Definition at line 4899 of file lwgeom_topo.c.

4900 {
4901  double a = ((scored_pointer *)si1)->score;
4902  double b = ((scored_pointer *)si2)->score;
4903  if ( a < b )
4904  return -1;
4905  else if ( a > b )
4906  return 1;
4907  else
4908  return 0;
4909 }

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: