functionpolygonVertexAngles
Returns the vector of polygon vertex angles from a given point
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,2] | polygon | Polygon | |
| Real[2] | point | Point | |
| Real | tolerance | 0 | Tolerance |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(polygon, 1)] | alpha | Vector of polygon vertex angles | |
| Integer | n | Number of polygon vertices. If -1, the result is undecided |