PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWT_ELEMID lwt_GetFaceByPoint | ( | LWT_TOPOLOGY * | topo, |
LWPOINT * | pt, | ||
double | tol | ||
) |
Find the face-id of a face containing 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 a containing face |
Definition at line 4738 of file lwgeom_topo.c.
References _lwt_release_edges(), LWT_TOPOLOGY_T::be_iface, LWT_ISO_EDGE::edge_id, LWT_ISO_EDGE::face_left, LWT_ISO_EDGE::face_right, LWT_ISO_EDGE::geom, LWDEBUG, LWDEBUGF, lwerror(), lwgeom_mindistance2d_tolerance(), lwline_as_lwgeom(), lwnotice(), lwpoint_as_lwgeom(), lwt_be_getEdgeWithinDistance2D(), lwt_be_getFaceContainingPoint(), lwt_be_lastErrorMessage(), LWT_COL_EDGE_EDGE_ID, LWT_COL_EDGE_FACE_LEFT, LWT_COL_EDGE_FACE_RIGHT, LWT_COL_EDGE_GEOM, and LWTFMT_ELEMID.