...
polygonContainsPt(polyX, polyY, pointX, pointY, geoBuffer decimalPlaces)
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. |
decimalPlaces | Integer | The number of decimal places to use in the geometry calculations. Defaults to 0 if not provided. Can also take negative values e.g. -1 uses geometry to the nearest 10. |
...