PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ _lwt_UpdateNodeFaceRef()

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

Definition at line 3957 of file lwgeom_topo.c.

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

Referenced by _lwt_RemEdge().

3958 {
3959  LWT_ISO_NODE sel, upd;
3960  int ret;
3961 
3962  assert( of != 0 );
3963 
3964  /* Update face_left for all edges still referencing old face */
3965  sel.containing_face = of;
3966  upd.containing_face = nf;
3969  NULL, 0);
3970  if ( ret == -1 ) return -1;
3971 
3972  return 0;
3973 }
#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: