From WikiChip
$inpoly Identifier - mIRC
< mirc‎ | identifiers

$inpoly returns $true if the specified point is inside the specified polygon, $false otherwise


Synopsis

$inpoly(x,y,x1,y1,x2,y2,x3,y3,...)

Paramters

  • x - the x coordinate of the point
  • y - the y coordinate of the point
  • x1 - the x coordinate of the first point
  • y1 - the y coordinate of the first point
  • x2 - the x coordinate of the second point
  • y2 - the y coordinate of the second point
  • xN - the x coordinate of the Nth point
  • yN - the y coordinate of the Nth point

Properties

None

Example

None

Compatibility

Added: mIRC v5.41
Added on: 24 Jul 1998
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$inellipse $inroundrect $inrect $onpoly