$inpoly » History » Version 3
Per Amundsen, 02/23/2023 01:54 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Per Amundsen | *$inpoly(x,y,a1,a2,b1,b2,...)* |
| 4 | 1 | Per Amundsen | |
| 5 | Returns [[$true]] if the point x y is inside the polygon defined by the specified points, otherwise [[$false]]. |
||
| 6 | 3 | Per Amundsen | |
| 7 | *Parameters* |
||
| 8 | |||
| 9 | table(ktable). |
||
| 10 | |*Parameter*|*Description*| |
||
| 11 | | x | The X coordinate. | |
||
| 12 | | y | The Y coordinate. | |
||
| 13 | | a1 | The first point x. | |
||
| 14 | | a2 | The first point y. | |
||
| 15 | | b1 | The second point x. | |
||
| 16 | | b2 | The second point y. | |
||
| 17 | | ... | Additional points. | |