PolygonUtils.ToXyArray method

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

ToXyArray(IPoint[][])

Static

Returns a three-dimensional array of X and Y coordinates based on the specified coordinates.

public static Double[][][] ToXyArray(IPoint[][] coordinates)

Parameters

coordinates Array of Array of IPoint

A two-dimensional array making up the outer and inner coordinates of a polygon.

Returns

Array of Array of Array of Double

A three-dimensional array of X and Y coordinates.