PostGIS  3.1.6dev-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 6083 of file lwgeom_topo.c.

6084 {
6085  int a = ((LWT_ISO_EDGE *)si1)->edge_id;
6086  int b = ((LWT_ISO_EDGE *)si2)->edge_id;
6087  if ( a < b )
6088  return -1;
6089  else if ( a > b )
6090  return 1;
6091  else
6092  return 0;
6093 }

Referenced by _lwt_getIsoEdgeById(), and lwt_Polygonize().

Here is the caller graph for this function: