PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lw_dist3d_line_line()

int lw_dist3d_line_line ( const LWLINE line1,
const LWLINE line2,
DISTPTS3D dl 
)

line to line calculation

Definition at line 826 of file measures3d.c.

827 {
828  POINTARRAY *pa1 = line1->points;
829  POINTARRAY *pa2 = line2->points;
830  LWDEBUG(2, "lw_dist3d_line_line is called");
831 
832  return lw_dist3d_ptarray_ptarray(pa1, pa2, dl);
833 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:101
int lw_dist3d_ptarray_ptarray(const POINTARRAY *l1, const POINTARRAY *l2, DISTPTS3D *dl)
Finds all combinations of segments between two pointarrays.
Definition: measures3d.c:1122
POINTARRAY * points
Definition: liblwgeom.h:483

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

Referenced by lw_dist3d_distribute_bruteforce().

Here is the call graph for this function:
Here is the caller graph for this function: