PostGIS  2.5.0dev-r@@SVN_REVISION@@
static LWT_ISO_EDGE* _lwt_getIsoEdgeById ( LWT_ISO_EDGE_TABLE tab,
LWT_ELEMID  id 
)
static

Definition at line 6164 of file lwgeom_topo.c.

References compare_iso_edges_by_id(), LWT_ISO_EDGE::edge_id, LWT_ISO_EDGE_TABLE_T::edges, and LWT_ISO_EDGE_TABLE_T::size.

Referenced by _lwt_BuildEdgeRing().

6165 {
6166  LWT_ISO_EDGE key;
6167  key.edge_id = id;
6168 
6169  void *match = bsearch( &key, tab->edges, tab->size,
6170  sizeof(LWT_ISO_EDGE),
6172  return match;
6173 }
LWT_ISO_EDGE * edges
Definition: lwgeom_topo.c:6146
static int compare_iso_edges_by_id(const void *si1, const void *si2)
Definition: lwgeom_topo.c:6151
LWT_ELEMID edge_id

Here is the call graph for this function:

Here is the caller graph for this function: