Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

polygonContainsPt(polyX, polyY, pointX, pointYgeoBuffer )

ArgumentTypeDescription
polyXArrayArray of x coordinates of the polygon (only integer part is used).
polyYArrayArray of y coordinates of the polygon (only integer part is used)
pointXIntegerX coordinate of a point to be tested.
pointYIntegerY coordinate of a point to be tested.
decimalPlacesIntegerThe 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.

Examples

polygonContainsPt([10,20,20,10],[10,10,20,20],15,15)

...