PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4932 of file lwgeom_topo.c.

4933 {
4934  double a = ((scored_pointer *)si1)->score;
4935  double b = ((scored_pointer *)si2)->score;
4936  if ( a < b )
4937  return -1;
4938  else if ( a > b )
4939  return 1;
4940  else
4941  return 0;
4942 }

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: