PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 5073 of file lwgeom_topo.c.

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

Referenced by _lwt_AddPoint().

Here is the caller graph for this function: