PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lw_dist2d_pt_ptarray | ( | const POINT2D * | p, |
POINTARRAY * | pa, | ||
DISTPTS * | dl | ||
) |
search all the segments of pointarray to see which one is closest to p1 Returns minimum distance between point and pointarray
Definition at line 1053 of file measures.c.
References DIST_MIN, DISTPTS::distance, getPoint2d_cp(), lw_dist2d_pt_pt(), lw_dist2d_pt_seg(), LW_FALSE, LW_TRUE, LWDEBUG, DISTPTS::mode, POINTARRAY::npoints, DISTPTS::tolerance, and DISTPTS::twisted.
Referenced by lw_dist2d_point_line(), and lw_dist2d_point_poly().