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

(Created page with "{{mirc title|$onpoly Identifier}}'''$onpoly''' returns {{mIRC|$true}} if two polygon overlap, {{mIRC|$false}} otherwise == Synopsis == <pre>$onpoly(n1,n2,x1,y1,xN1,yN1,x2,y2...")
 
(No difference)

Latest revision as of 14:25, 1 February 2018

$onpoly returns $true if two polygon overlap, $false otherwise


Synopsis[edit]

$onpoly(n1,n2,x1,y1,xN1,yN1,x2,y2,xN2,yN2,...)

Parameters[edit]

  • n1 - the number of points defining the first polygon
  • n2 - the number of points defining the second polygon
  • x1 - the x coordinate of the first point for the first polygon
  • y1 - the y coordinate of the first point for the first polygon
  • xN1 - the x coordinate of the Nth point for the first polygon
  • yN1 - the y coordinate of the Nth point for the first polygon
  • x2 - the x coordinate of the first point for the second polygon
  • y2 - the y coordinate of the first point for the second polygon
  • xN2 - the x coordinate of the Nth point for the second polygon
  • yN2 - the y coordinate of the Nth point for the second polygon

Properties[edit]

None

Example[edit]

None

Compatibility[edit]

Added: mIRC v5.8
Added on: 05 Sep 2000
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 $inpoly $inrect