PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ _lwt_EdgeRingGetFace()

static LWT_ELEMID _lwt_EdgeRingGetFace ( LWT_EDGERING ring)
static

Definition at line 6409 of file lwgeom_topo.c.

References LWT_EDGERING_ELEM_T::edge, LWT_EDGERING_T::elems, LWT_ISO_EDGE::face_left, LWT_ISO_EDGE::face_right, and LWT_EDGERING_ELEM_T::left.

Referenced by _lwt_FindFaceContainingRing().

6410 {
6411  LWT_EDGERING_ELEM *el = ring->elems[0];
6412  return el->left ? el->edge->face_left : el->edge->face_right;
6413 }
LWT_ELEMID face_left
LWT_ISO_EDGE * edge
Definition: lwgeom_topo.c:5951
LWT_ELEMID face_right
LWT_EDGERING_ELEM ** elems
Definition: lwgeom_topo.c:5961
Here is the caller graph for this function: