PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 5071 of file lwgeom_topo.c.

5072 {
5073  double a = ((scored_pointer *)si1)->score;
5074  double b = ((scored_pointer *)si2)->score;
5075  if ( a < b )
5076  return -1;
5077  else if ( a > b )
5078  return 1;
5079  else
5080  return 0;
5081 }

Referenced by _lwt_AddPoint(), and _lwt_SplitAllEdgesToNewNode().

Here is the caller graph for this function: