functionpolygonVertexAngles

Returns the vector of polygon vertex angles from a given point

Inputs

TypeNameDefaultDescription
Real[:,2]polygonPolygon
Real[2]pointPoint
Realtolerance0Tolerance

Outputs

TypeNameDefaultDescription
Real[size(polygon, 1)]alphaVector of polygon vertex angles
IntegernNumber of polygon vertices. If -1, the result is undecided