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

In This Topic
    PolygonArea<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 PolygonArea(Of T As Point2D)( _
       ByVal polygon As IList(Of T) _
    ) As Double
    public static double PolygonArea<T>( 
       IList<T> polygon
    )
    where T: Point2D

    Parameters

    polygon
    The list of 2D points

    Type Parameters

    T

    Return Value

    Depending on the polygon direction will return a positive or negative area.
    See Also