From Scriptwiki
Jump to: navigation, search

Returns whether or not a point is in a polygon with points at the given locations.

  • X is the X coordinate you wish to check.
  • Y is the Y coordinate you wish to check.
  • X1 and Y1 refer to the coordiantes of the first point, X2 and Y2 of the second, etc. You may have as many points as you wish but no fewer than three to get a $true value.
  • Returns: $true or $false for use in If-Then-Else statements.

See Also