|
PostGIS
3.7.0dev-r@@SVN_REVISION@@
|
| LWT_ELEMID* lwt_AddLine | ( | LWT_TOPOLOGY * | topo, |
| LWLINE * | line, | ||
| double | tol, | ||
| int * | nedges, | ||
| int | max_edges | ||
| ) |
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) |
| max_edges | the maximum number of edges to allow the input line to be split into. 0 for no limits. An error will be returned if number of edges would exceed this number. |
Definition at line 7540 of file lwgeom_topo.c.
References _lwt_AddLine().
Referenced by lwt_LoadLine().

