PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ _lwt_EdgeRingGetFace()

static LWT_ELEMID _lwt_EdgeRingGetFace ( LWT_EDGERING ring)
static

Definition at line 6437 of file lwgeom_topo.c.

6438 {
6439  LWT_EDGERING_ELEM *el = ring->elems[0];
6440  return el->left ? el->edge->face_left : el->edge->face_right;
6441 }
LWT_ISO_EDGE * edge
Definition: lwgeom_topo.c:5979
LWT_EDGERING_ELEM ** elems
Definition: lwgeom_topo.c:5989
LWT_ELEMID face_right
LWT_ELEMID face_left

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().

Here is the caller graph for this function: