PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwt_RemEdgeModFace()

LWT_ELEMID lwt_RemEdgeModFace ( LWT_TOPOLOGY topo,
LWT_ELEMID  edge 
)

Remove an edge, possibly merging two faces (replacing one with the other)

For ST_RemEdgeModFace

Preferentially keep the face on the right, to be symmetric with lwt_AddEdgeModFace.

Parameters
topothe topology to operate on
edgeidentifier of the edge to be removed
Returns
the id of the face that takes the space previously occupied by the removed edge, or -1 on error (liblwgeom error handler will be invoked with error message)

Definition at line 4174 of file lwgeom_topo.c.

4175 {
4176  return _lwt_RemEdge( topo, edge_id, 1 );
4177 }
static LWT_ELEMID _lwt_RemEdge(LWT_TOPOLOGY *topo, LWT_ELEMID edge_id, int modFace)
Definition: lwgeom_topo.c:3796

References _lwt_RemEdge().

Here is the call graph for this function: