Finds all combinationes of segments between two pointarrays.
Definition at line 867 of file measures3d.c.
References DIST_MAX, DIST_MIN, DISTPTS3D::distance, getPoint3dz_p(), lw_dist3d_pt_pt(), lw_dist3d_seg_seg(), LW_TRUE, LWDEBUGF, DISTPTS3D::mode, POINTARRAY::npoints, DISTPTS3D::tolerance, and DISTPTS3D::twisted.
Referenced by lw_dist3d_line_line(), lw_dist3d_line_poly(), lw_dist3d_poly_poly(), and lw_dist3d_ptarray_poly().
886 LWDEBUGF(4,
"maxdist_ptarray_ptarray; seg %i * seg %i, dist = %g\n",t,u,dl->
distance);
887 LWDEBUGF(3,
" seg%d-seg%d dist: %f, mindist: %f",
904 LWDEBUGF(4,
"mindist_ptarray_ptarray; seg %i * seg %i, dist = %g\n",t,u,dl->
distance);
905 LWDEBUGF(3,
" seg%d-seg%d dist: %f, mindist: %f",
int lw_dist3d_seg_seg(POINT3DZ *s1p1, POINT3DZ *s1p2, POINT3DZ *s2p1, POINT3DZ *s2p2, DISTPTS3D *dl)
Finds the two closest points on two linesegments.
int getPoint3dz_p(const POINTARRAY *pa, int n, POINT3DZ *point)
#define LW_TRUE
Return types for functions with status returns.
int lw_dist3d_pt_pt(POINT3DZ *thep1, POINT3DZ *thep2, DISTPTS3D *dl)
Compares incomming points and stores the points closest to each other or most far away from each othe...
#define LWDEBUGF(level, msg,...)