PostGIS  2.5.0beta2dev-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 4154 of file lwgeom_topo.c.

References _lwt_RemEdge().

4155 {
4156  return _lwt_RemEdge( topo, edge_id, 1 );
4157 }
static LWT_ELEMID _lwt_RemEdge(LWT_TOPOLOGY *topo, LWT_ELEMID edge_id, int modFace)
Definition: lwgeom_topo.c:3776
Here is the call graph for this function: