Eyeshot 10 WinForms API Reference
PolygonOrientation<T> Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class : PolygonOrientation<T> Method
The list of points
Computes the signed area of a polygon (the points are always projected on XY plane).
Syntax
'Declaration
 
Public Shared Function PolygonOrientation(Of T As Point2D)( _
   ByVal polygon As IList(Of T) _
) As Double
public static double PolygonOrientation<T>( 
   IList<T> polygon
)
where T: Point2D

Parameters

polygon
The list of points

Type Parameters

T

Return Value

>0 for counterclockwise =0 for none (degenerate) lt;0 for clockwise.
See Also

Reference

Utility Class
Utility Members