PostGIS  2.5.0dev-r@@SVN_REVISION@@
LWT_ELEMID lwt_AddPoint ( LWT_TOPOLOGY topo,
LWPOINT point,
double  tol 

Adds a point to the topology.

The given point will snap to existing nodes or edges within given tolerance. An existing edge may be split by the point.

topothe topology to operate on
pointthe point to add
tolsnap tolerance, the topology tolerance will be used if 0
identifier of added (or pre-existing) node or -1 on error (liblwgeom error handler will be invoked with error message)

Definition at line 5430 of file lwgeom_topo.c.

References _lwt_AddPoint().

5431 {
5432  return _lwt_AddPoint(topo, point, tol, 1, NULL);
5433 }
static LWT_ELEMID _lwt_AddPoint(LWT_TOPOLOGY *topo, LWPOINT *point, double tol, int findFace, int *moved)
Definition: lwgeom_topo.c:5092

Here is the call graph for this function: