PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWT_ELEMID* lwt_AddLine | ( | LWT_TOPOLOGY * | topo, |
LWLINE * | line, | ||
double | tol, | ||
int * | nedges | ||
) |
Adds a linestring to the topology.
The given line will snap to existing nodes or edges within given tolerance. Existing edges or faces may be split by the line.
topo | the topology to operate on |
line | the line to add |
tol | snap tolerance, the topology tolerance will be used if 0 |
nedges | output parameter, will be set to number of edges the line was split into, or -1 on error (liblwgeom error handler will be invoked with error message) |
Definition at line 5795 of file lwgeom_topo.c.
References _lwt_AddLine().
Referenced by lwt_AddPolygon().