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

◆ compare_iso_edges_by_id()

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

Definition at line 46 of file lwgeom_topo_polygonizer.c.

47{
48 int a = ((LWT_ISO_EDGE *)si1)->edge_id;
49 int b = ((LWT_ISO_EDGE *)si2)->edge_id;
50 if ( a < b )
51 return -1;
52 else if ( a > b )
53 return 1;
54 else
55 return 0;
56}

Referenced by _lwt_getIsoEdgeById(), and lwt_Polygonize().

Here is the caller graph for this function: