PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lw_dist3d_pt_ptarray | ( | POINT3DZ * | p, |
POINTARRAY * | pa, | ||
DISTPTS3D * | dl | ||
) |
search all the segments of pointarray to see which one is closest to p Returns distance between point and pointarray
Definition at line 740 of file measures3d.c.
References DIST_MIN, DISTPTS3D::distance, getPoint3dz_p(), lw_dist3d_pt_seg(), LW_FALSE, LW_TRUE, LWDEBUG, DISTPTS3D::mode, POINTARRAY::npoints, DISTPTS3D::tolerance, and DISTPTS3D::twisted.
Referenced by lw_dist3d_point_line(), lw_dist3d_point_poly(), and lw_dist3d_pt_poly().