Project

General

Profile

$onpoly » History » Version 3

Per Amundsen, 02/23/2023 06:41 PM

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 3 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| n1 | Number of points in the first polygon. |
12
| n2 | Number of points in the second polygon. |
13
| x | First x coordinate. |
14
| y | First y coordinate. |
15
| x | Second x coordinate. |
16
| y | Second y coordinate. |
17
| ... | Additional coordinates. |