...
polygonContainsPt(polyX, polyY, pointX, pointY)
Argument | Type | Description |
---|---|---|
polyX | Array | Array of x coordinates of the polygon (only integer part is used). |
polyY | Array | Array of y coordinates of the polygon (only integer part is used) |
pointX | Integer | X coordinate of a point to be tested. |
pointY | Integer | Y coordinate of a point to be tested. |
Examples
polygonContainsPt([10,20,20,10],[10,10,20,20],15,15)
...