PostGIS  2.5.0dev-r@@SVN_REVISION@@
int lw_dist3d_line_line ( LWLINE line1,
LWLINE line2,
DISTPTS3D dl 
)

line to line calculation

Definition at line 649 of file measures3d.c.

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

Referenced by lw_dist3d_distribute_bruteforce().

650 {
651  POINTARRAY *pa1 = line1->points;
652  POINTARRAY *pa2 = line2->points;
653  LWDEBUG(2, "lw_dist3d_line_line is called");
654 
655  return lw_dist3d_ptarray_ptarray(pa1, pa2, dl);
656 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:83
int lw_dist3d_ptarray_ptarray(POINTARRAY *l1, POINTARRAY *l2, DISTPTS3D *dl)
Finds all combinationes of segments between two pointarrays.
Definition: measures3d.c:841
POINTARRAY * points
Definition: liblwgeom.h:421

Here is the call graph for this function:

Here is the caller graph for this function: