PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
LWT_ELEMID lwt_NewEdgesSplit | ( | LWT_TOPOLOGY * | topo, |
LWT_ELEMID | edge, | ||
LWPOINT * | pt, | ||
int | skipChecks | ||
) |
Split an edge by a node, replacing it with two new edges.
For ST_NewEdgesSplit
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 1191 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(), lwcollection_release(), lwerror(), lwgeom_as_lwline(), lwt_be_deleteEdges(), 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_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.