PostGIS 3.6.2dev-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 5071 of file lwgeom_topo.c.

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

References scored_pointer_t::score.

Referenced by _lwt_AddPoint(), and _lwt_SplitAllEdgesToNewNode().

Here is the caller graph for this function: