PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ compare_scored_pointer()

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

Definition at line 5008 of file lwgeom_topo.c.

Referenced by lwt_AddPoint().

5009 {
5010  double a = ((scored_pointer *)si1)->score;
5011  double b = ((scored_pointer *)si2)->score;
5012  if ( a < b )
5013  return -1;
5014  else if ( a > b )
5015  return 1;
5016  else
5017  return 0;
5018 }
Here is the caller graph for this function: