LineUtils.GetLength method

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

GetLength(List<T>)

Static

Gets the length of the line or line string represented by the specified points.

public static double GetLength(List<T> points)

Parameters

points List<T>

The points making up the line.

Returns

The length in metres.

GetLength(IPoint[])

Static

Gets the length of the line or line string represented by the specified points.

public static double GetLength(IPoint[] points)

Parameters

points Array of IPoint

The points making up the line.

Returns

The length in metres.