PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4866 of file lwgeom_topo.c.

Referenced by _lwt_AddPoint().

4867 {
4868  double a = ((scored_pointer *)si1)->score;
4869  double b = ((scored_pointer *)si2)->score;
4870  if ( a < b )
4871  return -1;
4872  else if ( a > b )
4873  return 1;
4874  else
4875  return 0;
4876 }
Here is the caller graph for this function: