PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ ptarray_contains_point()

int ptarray_contains_point ( const POINTARRAY pa,
const POINT2D pt 

Return 1 if the point is inside the POINTARRAY, -1 if it is outside, and 0 if it is on the boundary.

Definition at line 734 of file ptarray.c.

735 {
736  return ptarray_contains_point_partial(pa, pt, LW_TRUE, NULL);
737 }
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76
int ptarray_contains_point_partial(const POINTARRAY *pa, const POINT2D *pt, int check_closed, int *winding_number)
Definition: ptarray.c:740

References LW_TRUE, and ptarray_contains_point_partial().

Referenced by _lwt_AddFaceSplit(), lw_dist2d_line_poly(), lw_dist2d_point_poly(), lw_dist2d_poly_poly(), lwcompound_contains_point(), lwgeom_contains_point(), lwpoly_contains_point(), and test_ptarray_contains_point().

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