Added in 1.9.0

$inpoly(x,y,a1,a2,b1,b2,...)

Returns $true if the point x y is inside the polygon defined by the specified points, otherwise $false.

Parameters

Parameter Description
x The X coordinate.
y The Y coordinate.
a1 The first point x.
a2 The first point y.
b1 The second point x.
b2 The second point y.
... Additional points.