Utility.PolygonOrientation<T> Method
Computes the signed area of a polygon (the points are always projected on XY plane).
Public Shared Function PolygonOrientation(Of _
T As Point2D)( _
ByVal polygon As IList(Of T) _
) As Double
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Type Parameters
-
T
-
Parameters
-
polygon
-
IList<T>
The list of points
Return Value
double
>0 for counterclockwise
=0 for none (degenerate)
lt;0 for clockwise.
.NET Framework
Supported in: 4.8