PostGIS  2.3.8dev-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 4318 of file lwgeom_topo.c.

References _lwt_RemEdge().

4319 {
4320  return _lwt_RemEdge( topo, edge_id, 1 );
4321 }
static LWT_ELEMID _lwt_RemEdge(LWT_TOPOLOGY *topo, LWT_ELEMID edge_id, int modFace)
Definition: lwgeom_topo.c:3940
Here is the call graph for this function: