PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 4897 of file lwgeom_topo.c.

4898 {
4899  double a = ((scored_pointer *)si1)->score;
4900  double b = ((scored_pointer *)si2)->score;
4901  if ( a < b )
4902  return -1;
4903  else if ( a > b )
4904  return 1;
4905  else
4906  return 0;
4907 }

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: