PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lw_dist2d_fast_ptarray_ptarray | ( | POINTARRAY * | l1, |
POINTARRAY * | l2, | ||
DISTPTS * | dl, | ||
GBOX * | box1, | ||
GBOX * | box2 | ||
) |
The new faster calculation comparing pointarray to another pointarray the arrays can come from both polygons and linestrings.
The naming is not good but comes from that it compares a chosen selection of the points not all of them
Definition at line 1943 of file measures.c.
References getPoint2d_cp(), lw_dist2d_pre_seg_seg(), LW_FALSE, LW_TRUE, lwalloc(), LWDEBUG, lwfree(), POINTARRAY::npoints, LISTSTRUCT::pnr, struct_cmp_by_measure(), LISTSTRUCT::themeasure, DISTPTS::twisted, POINT2D::x, GBOX::xmax, GBOX::xmin, POINT2D::y, GBOX::ymax, and GBOX::ymin.
Referenced by lw_dist2d_distribute_fast().