return LW_TRUE if all points are inside the polygon
Definition at line 2696 of file lwgeodetic.c.
2699 for (i = 0; i < pta->
npoints; i++) {
2703 LWDEBUG(4,
"returning false, geometry2 has point outside of geometry1");
#define LW_TRUE
Return types for functions with status returns.
int lwpoly_covers_point2d(const LWPOLY *poly, const POINT2D *pt_to_test)
Given a polygon (lon/lat decimal degrees) and point (lon/lat decimal degrees) and a guaranteed outsid...
#define LWDEBUG(level, msg)
static const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
References getPoint2d_cp(), LW_FALSE, LW_TRUE, LWDEBUG, lwpoly_covers_point2d(), and POINTARRAY::npoints.
Referenced by lwpoly_covers_lwline(), and lwpoly_covers_lwpoly().