From WikiChip
Difference between revisions of "mirc/identifiers/$inpoly"
< mirc‎ | identifiers

(Created page with "{{mirc title|$inpoly Identifier}}'''$inpoly''' returns {{mIRC|$true}} if the specified point is inside the specified polygon, {{mIRC|$false}} otherwise == Synopsis == <pre>$...")
 
(No difference)

Latest revision as of 15:18, 1 February 2018

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


Synopsis[edit]

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

Paramters[edit]

  • 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[edit]

None

Example[edit]

None

Compatibility[edit]

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[edit]

$inellipse $inroundrect $inrect $onpoly