| Point 2 Line index |
|||||||
| Name | insidePolygon ( ) | ||||||
| Description | Calculates whether a point is inside a polygon. Code is borrowed from this Processing.org thread. Thanks to st33d for the code. |
||||||
| Syntax | insidePolygon(point, vertices); |
||||||
| Parameters |
|
||||||
| Returns | true if the point is inside the polygon, otherwise false (boolean) |
||||||
| Usage | Web & Application | ||||||
| Related | |||||||
| Examples | |
||||||