point to line calculation
Definition at line 593 of file measures.c.
596 LWDEBUG(2,
"lw_dist2d_point_line is called");
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
#define LWDEBUG(level, msg)
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 betw...
References getPoint2d_cp(), lw_dist2d_pt_ptarray(), LWDEBUG, LWPOINT::point, and LWLINE::points.
Referenced by lw_dist2d_distribute_bruteforce().