From WikiChip
$onpoly Identifier - mIRC
< mirc‎ | identifiers
Revision as of 14:25, 1 February 2018 by Ouims (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


Synopsis

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

Parameters

  • 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

None

Example

None

Compatibility

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

$inellipse $inroundrect $inpoly $inrect