Click or drag to resize

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.Common
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool PointInPolygonAngle(
	ref Vector2 point
)

Parameters

point  Vector2
 

Return Value

Boolean
See Also