PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ lwt_NewEdgeHeal()

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

Merge two edges, replacing both with a new one.

For ST_NewEdgeHeal

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

Definition at line 4621 of file lwgeom_topo.c.

References _lwt_HealEdges().

4622 {
4623  return _lwt_HealEdges( topo, e1, e2, 0 );
4624 }
static LWT_ELEMID _lwt_HealEdges(LWT_TOPOLOGY *topo, LWT_ELEMID eid1, LWT_ELEMID eid2, int modEdge)
Definition: lwgeom_topo.c:4166
Here is the call graph for this function: