PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwt_ModEdgeHeal()

LWT_ELEMID lwt_ModEdgeHeal ( LWT_TOPOLOGY topo,
LWT_ELEMID  e1,
LWT_ELEMID  e2 
)

Merge two edges, modifying the first and deleting the second.

For ST_ModEdgeHeal

Parameters
topothe topology to operate on
e1identifier of first edge
e2identifier of second edge
Returns
the id of the removed node or -1 on error (liblwgeom error handler will be invoked with error message)

Definition at line 4777 of file lwgeom_topo.c.

References _lwt_HealEdges().

4778 {
4779  return _lwt_HealEdges( topo, e1, e2, 1 );
4780 }
static LWT_ELEMID _lwt_HealEdges(LWT_TOPOLOGY *topo, LWT_ELEMID eid1, LWT_ELEMID eid2, int modEdge)
Definition: lwgeom_topo.c:4330
Here is the call graph for this function: