isInside( x, y, xys, ... )
If the number of coordinates is odd, the behaviour is not defined.
x
(floating point)y
(floating point)xys
(floating point, one or more)x1
, y1
,
x2
, y2
, ...,
xN
, yN
)
giving vertices of an N-sided polygonisInside(0.5,0.5, 0,0, 0,1, 1,1, 1,0) = true
isInside(0,0, array(10,20, 20,20, 20,10)) = false
boolean isInside(double, double, double...)