PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 5072 of file lwgeom_topo.c.

Referenced by _lwt_AddPoint().

5073 {
5074  double a = ((scored_pointer *)si1)->score;
5075  double b = ((scored_pointer *)si2)->score;
5076  if ( a < b )
5077  return -1;
5078  else if ( a > b )
5079  return 1;
5080  else
5081  return 0;
5082 }
Here is the caller graph for this function: