PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lw_dist2d_line_line()

int lw_dist2d_line_line ( LWLINE line1,
LWLINE line2,
DISTPTS dl 
)

line to line calculation

Definition at line 707 of file measures.c.

References lw_dist2d_ptarray_ptarray(), LWDEBUG, and LWLINE::points.

Referenced by lw_dist2d_distribute_bruteforce().

708 {
709  POINTARRAY *pa1 = line1->points;
710  POINTARRAY *pa2 = line2->points;
711  LWDEBUG(2, "lw_dist2d_line_line is called");
712  return lw_dist2d_ptarray_ptarray(pa1, pa2, dl);
713 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:83
int lw_dist2d_ptarray_ptarray(POINTARRAY *l1, POINTARRAY *l2, DISTPTS *dl)
test each segment of l1 against each segment of l2.
Definition: measures.c:1131
POINTARRAY * points
Definition: liblwgeom.h:421
Here is the call graph for this function:
Here is the caller graph for this function: