PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwt_AddEdgeNewFaces()

LWT_ELEMID lwt_AddEdgeNewFaces ( LWT_TOPOLOGY topo,
LWT_ELEMID  start_node,
LWT_ELEMID  end_node,
LWLINE geom,
int  skipChecks 
)

Add a new edge possibly splitting a face (replacing with two new faces)

For ST_AddEdgeNewFaces

If the new edge splits a face, the face is replaced by two new faces.

Parameters
topothe topology to operate on
start_nodeidentifier of the starting node
end_nodeidentifier of the ending node
geomthe edge geometry
skipChecksif non-zero skips consistency checks (curve being simple and valid, start/end nodes consistency actual face containment)
Returns
ID of the newly added edge

Definition at line 2731 of file lwgeom_topo.c.

2734 {
2735  return _lwt_AddEdge( topo, start_node, end_node, geom, skipChecks, 0 );
2736 }
static LWT_ELEMID _lwt_AddEdge(LWT_TOPOLOGY *topo, LWT_ELEMID start_node, LWT_ELEMID end_node, LWLINE *geom, int skipChecks, int modFace)
Definition: lwgeom_topo.c:2263

References _lwt_AddEdge().

Here is the call graph for this function: