PostGIS  2.5.0beta2dev-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 5925 of file lwgeom_topo.c.

Referenced by _lwt_getIsoEdgeById(), and lwt_Polygonize().

5926 {
5927  int a = ((LWT_ISO_EDGE *)si1)->edge_id;
5928  int b = ((LWT_ISO_EDGE *)si2)->edge_id;
5929  if ( a < b )
5930  return -1;
5931  else if ( a > b )
5932  return 1;
5933  else
5934  return 0;
5935 }
Here is the caller graph for this function: