line to polygon calculation
Definition at line 837 of file measures3d.c.
840 LWDEBUG(2,
"lw_dist3d_line_poly is called");
#define LWDEBUG(level, msg)
int lw_dist3d_ptarray_ptarray(const POINTARRAY *l1, const POINTARRAY *l2, DISTPTS3D *dl)
Finds all combinations of segments between two pointarrays.
int define_plane(const POINTARRAY *pa, PLANE3D *pl)
int lw_dist3d_ptarray_poly(const POINTARRAY *pa, const LWPOLY *poly, PLANE3D *plane, DISTPTS3D *dl)
Computes pointarray to polygon distance.
References define_plane(), DIST_MAX, lw_dist3d_ptarray_poly(), lw_dist3d_ptarray_ptarray(), LWDEBUG, DISTPTS3D::mode, LWLINE::points, and LWPOLY::rings.
Referenced by lw_dist3d_distribute_bruteforce().