VerticesPointInPolygonAngle Method |
Compute the sum of the angles made between the test point and each pair of points making up the polygon.
If this sum is 2pi then the point is an interior point, if 0 then the point is an exterior point.
ref: http://ozviz.wasp.uwa.edu.au/~pbourke/geometry/insidepoly/ - Solution 2
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic bool PointInPolygonAngle(
ref Vector2 point
)
Parameters
- point Vector2
-
Return Value
Boolean
See Also