PostGIS  3.0.6dev-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 4189 of file lwgeom_topo.c.

4190 {
4191  return _lwt_RemEdge( topo, edge_id, 1 );
4192 }
static LWT_ELEMID _lwt_RemEdge(LWT_TOPOLOGY *topo, LWT_ELEMID edge_id, int modFace)
Definition: lwgeom_topo.c:3808

References _lwt_RemEdge().

Here is the call graph for this function: