PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWT_ELEMID lwt_GetEdgeByPoint | ( | LWT_TOPOLOGY * | topo, |
LWPOINT * | pt, | ||
double | tol | ||
) |
Find the edge-id of an edge that intersects a given point.
topo | the topology to operate on |
point | the point to use for query |
tol | max distance around the given point to look for an intersecting edge |
Definition at line 4682 of file lwgeom_topo.c.
References _lwt_release_edges(), LWT_TOPOLOGY_T::be_iface, LWT_ISO_EDGE::edge_id, LWT_ISO_EDGE::geom, lwerror(), lwgeom_is_empty(), lwgeom_mindistance2d_tolerance(), lwline_as_lwgeom(), lwnotice(), lwpoint_as_lwgeom(), lwt_be_getEdgeWithinDistance2D(), lwt_be_lastErrorMessage(), LWT_COL_EDGE_EDGE_ID, LWT_COL_EDGE_GEOM, and LWTFMT_ELEMID.