PostGIS
3.2.2dev-r@@SVN_REVISION@@
|
int ptarrayarc_contains_point | ( | const POINTARRAY * | pa, |
const POINT2D * | pt | ||
) |
For POINTARRAYs representing CIRCULARSTRINGS.
That is, linked triples with each triple being control points of a circular arc. Such POINTARRAYs have an odd number of vertices.
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 1110 of file ptarray.c.
References LW_BOUNDARY, LW_FALSE, LW_INSIDE, LW_OUTSIDE, lwerror(), ptarray_is_closed_2d(), and ptarrayarc_raycast_intersections().
Referenced by lwgeom_contains_point(), and test_ptarrayarc_contains_point().