Definition at line 671 of file measures.c.
676 lwerror(
"lw_dist2d_point_curvepoly cannot calculate max distance");
686 for (uint32_t i = 1; i < poly->
nrings; i++)
#define LW_TRUE
Return types for functions with status returns.
#define LW_INSIDE
Constants for point-in-polygon return values.
int lwgeom_contains_point(const LWGEOM *geom, const POINT2D *pt)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
int lw_dist2d_recursive(const LWGEOM *lwg1, const LWGEOM *lwg2, DISTPTS *dl)
This is a recursive function delivering every possible combination of subgeometries.
References DIST_MAX, DISTPTS::distance, getPoint2d_cp(), lw_dist2d_recursive(), LW_INSIDE, LW_OUTSIDE, LW_TRUE, lwerror(), lwgeom_contains_point(), DISTPTS::mode, LWCURVEPOLY::nrings, DISTPTS::p1, DISTPTS::p2, LWPOINT::point, LWCURVEPOLY::rings, POINT2D::x, and POINT2D::y.
Referenced by lw_dist2d_distribute_bruteforce().