PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWT_ELEMID lwt_ModEdgeSplit | ( | LWT_TOPOLOGY * | topo, |
LWT_ELEMID | edge, | ||
LWPOINT * | pt, | ||
int | skipChecks | ||
) |
Split an edge by a node, modifying the original edge and adding a new one.
For ST_ModEdgeSplit
topo | the topology to operate on |
edge | identifier of the edge to be split |
pt | geometry of the new node |
skipChecks | if non-zero skips consistency checks (coincident node, point not on edge...) |
Definition at line 1019 of file lwgeom_topo.c.
References _lwt_EdgeSplit(), _lwt_release_edges(), LWT_TOPOLOGY_T::be_iface, LWT_ISO_NODE::containing_face, LWT_ISO_EDGE::edge_id, LWT_ISO_EDGE::end_node, LWT_ISO_EDGE::face_left, LWT_ISO_EDGE::face_right, LWT_ISO_NODE::geom, LWT_ISO_EDGE::geom, LWCOLLECTION::geoms, lwcollection_free(), lwerror(), lwgeom_as_lwline(), lwt_be_getNextEdgeId(), lwt_be_insertEdges(), lwt_be_insertNodes(), lwt_be_lastErrorMessage(), lwt_be_updateEdges(), lwt_be_updateTopoGeomEdgeSplit(), LWT_COL_EDGE_EDGE_ID, LWT_COL_EDGE_END_NODE, LWT_COL_EDGE_GEOM, LWT_COL_EDGE_NEXT_LEFT, LWT_COL_EDGE_NEXT_RIGHT, LWT_COL_EDGE_START_NODE, LWT_ISO_EDGE::next_left, LWT_ISO_EDGE::next_right, LWT_ISO_NODE::node_id, LWGEOM::srid, LWCOLLECTION::srid, and LWT_ISO_EDGE::start_node.
Referenced by _lwt_AddPoint().