PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4886 of file lwgeom_topo.c.

4887 {
4888  double a = ((scored_pointer *)si1)->score;
4889  double b = ((scored_pointer *)si2)->score;
4890  if ( a < b )
4891  return -1;
4892  else if ( a > b )
4893  return 1;
4894  else
4895  return 0;
4896 }

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: