Determines whether a point lies in the interior, on the boundary, or in the exterior of a ring. The ring may be oriented in either direction.
This method does not first check the point against the envelope of the ring.
-
Parameters:
-
p - p point to check for ring inclusion
-
ring - ring an array of coordinates representing the ring (which must have first point identical to last point)
-
Returns:
-
the
Location of p relative to the ring