Project

General

Profile

$onpoly » History » Version 2

Per Amundsen, 08/10/2015 09:17 AM

1 1 Per Amundsen
_Added in 1.9.4_
2
3
*$onpoly(n1,n2,x,y,x,y,...)*
4
5 2 Per Amundsen
Returns [[$true]] if two polygons overlap, otherwise [[$false]].
6 1 Per Amundsen
7
*Parameters*
8
9
n1 - Number of points in the first polygon.
10
n2 - Number of points in the second polygon.
11
x - First x coordinate.
12
y - First y coordinate.
13
x - Second x coordinate.
14
y - Second y coordinate.
15
... - Additional coordinates.