PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ lwt_AddPoint()

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 5200 of file lwgeom_topo.c.

References _lwt_AddPoint().

5201 {
5202  return _lwt_AddPoint(topo, point, tol, 1, NULL);
5203 }
static LWT_ELEMID _lwt_AddPoint(LWT_TOPOLOGY *topo, LWPOINT *point, double tol, int findFace, int *moved)
Definition: lwgeom_topo.c:4886
Here is the call graph for this function: