Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / PolygonOrientation<T> Method
The list of points

In This Topic
    PolygonOrientation<T> Method
    In This Topic
    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