PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4978 of file lwgeom_topo.c.

Referenced by lwt_AddPoint().

4979 {
4980  double a = ((scored_pointer *)si1)->score;
4981  double b = ((scored_pointer *)si2)->score;
4982  if ( a < b )
4983  return -1;
4984  else if ( a > b )
4985  return 1;
4986  else
4987  return 0;
4988 }
Here is the caller graph for this function: