PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ _lwt_UpdateNodeFaceRef()

static int _lwt_UpdateNodeFaceRef ( LWT_TOPOLOGY topo,
LWT_ELEMID  of,
LWT_ELEMID  nf 
)
static

Definition at line 3751 of file lwgeom_topo.c.

References LWT_ISO_NODE::containing_face, lwt_be_updateNodes(), and LWT_COL_NODE_CONTAINING_FACE.

Referenced by _lwt_RemEdge().

3752 {
3753  LWT_ISO_NODE sel, upd;
3754  int ret;
3755 
3756  assert( of != 0 );
3757 
3758  /* Update face_left for all edges still referencing old face */
3759  sel.containing_face = of;
3760  upd.containing_face = nf;
3763  NULL, 0);
3764  if ( ret == -1 ) return -1;
3765 
3766  return 0;
3767 }
#define LWT_COL_NODE_CONTAINING_FACE
LWT_ELEMID containing_face
static int lwt_be_updateNodes(LWT_TOPOLOGY *topo, const LWT_ISO_NODE *sel_node, int sel_fields, const LWT_ISO_NODE *upd_node, int upd_fields, const LWT_ISO_NODE *exc_node, int exc_fields)
Definition: lwgeom_topo.c:286
Here is the call graph for this function:
Here is the caller graph for this function: