PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ compare_scored_pointer()

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

Definition at line 5188 of file lwgeom_topo.c.

5189{
5190 double a = ((scored_pointer *)si1)->score;
5191 double b = ((scored_pointer *)si2)->score;
5192 if ( a < b )
5193 return -1;
5194 else if ( a > b )
5195 return 1;
5196 else
5197 return 0;
5198}

References scored_pointer_t::score.

Referenced by _lwt_AddPoint(), and _lwt_SplitAllEdgesToNewNode().

Here is the caller graph for this function: