PolygonUtils.GetArea method

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps
Assembly Skybrud.Essentials.Maps.dll

GetArea(IPoint[])

Static

Returns the area of the polygon in square metres.

public static double GetArea(IPoint[] points)

Parameters

points Array of IPoint

The points making up the polygon.

Returns

Returns a Double representing the area in square metres.

GetArea(IPoint[], double)

Static

Returns the area of the polygon in square metres.

public static double GetArea(IPoint[] points, double radius)

Parameters

points Array of IPoint

The points making up the polygon.

radius Double

The radius of the spheroid.

Returns

Returns a Double representing the area in square metres.