PostGIS  2.5.0dev-r@@SVN_REVISION@@
static LWT_ELEMID _lwt_EdgeRingGetFace ( LWT_EDGERING ring)
static

Definition at line 6639 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().

6640 {
6641  LWT_EDGERING_ELEM *el = ring->elems[0];
6642  return el->left ? el->edge->face_left : el->edge->face_right;
6643 }
LWT_ELEMID face_left
LWT_ISO_EDGE * edge
Definition: lwgeom_topo.c:6181
LWT_ELEMID face_right
LWT_EDGERING_ELEM ** elems
Definition: lwgeom_topo.c:6191

Here is the caller graph for this function: