PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4951 of file lwgeom_topo.c.

4952 {
4953  double a = ((scored_pointer *)si1)->score;
4954  double b = ((scored_pointer *)si2)->score;
4955  if ( a < b )
4956  return -1;
4957  else if ( a > b )
4958  return 1;
4959  else
4960  return 0;
4961 }

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: