ST_RemEdgeModFace
Name
ST_RemEdgeModFace — Removes an edge, and if the edge separates two faces deletes one face and modifies the other face to cover the space of both.
Synopsis
integer
ST_RemEdgeModFace
(
varchar
atopology
, integer
anedge
)
;
Description
Removes an edge, and if the removed edge separates two faces deletes one face and modifies the other face to cover the space of both. Preferentially keeps the face on the right, to be consistent with ST_AddEdgeModFace . Returns the id of the face which is preserved.
Updates all existing joined edges and relationships accordingly.
Refuses to remove an edge participating in the definition of an existing TopoGeometry. Refuses to heal two faces if any TopoGeometry is defined by only one of them (and not the other).
If any arguments are null, the given edge is unknown (must already exist in
the
edge
table of the topology schema), the topology
name is invalid then an error is thrown.
Availability: 2.0
This method implements the SQL/MM specification.
SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.15