MiscFunctions..::..AreaOfPolygon Method

Calculate the area of any non-intersecting polygon.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static double AreaOfPolygon(
	IList<Point> polygon
)
Public Shared Function AreaOfPolygon ( _
	polygon As IList(Of Point) _
) As Double
public:
static double^ AreaOfPolygon(
	IList<Point^>^ polygon
)

Parameters

polygon
Type: IList<(Of <(<'Point>)>)>

Return Value

System.Double.