PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ compare_iso_edges_by_id()

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

Definition at line 6155 of file lwgeom_topo.c.

Referenced by _lwt_getIsoEdgeById(), and lwt_Polygonize().

6156 {
6157  int a = ((LWT_ISO_EDGE *)si1)->edge_id;
6158  int b = ((LWT_ISO_EDGE *)si2)->edge_id;
6159  if ( a < b )
6160  return -1;
6161  else if ( a > b )
6162  return 1;
6163  else
6164  return 0;
6165 }
Here is the caller graph for this function: