PolygonUtils Class

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
Inheritance Object

Static class with various utility/helper methods for working with polygons.

public class PolygonUtils { }

Methods

Returns whether the polygon defined by the specified coordinates contains point.

Returns the area of the polygon in square metres.

Returns the area of the polygon in square metres.

Returns an instance of IRectangle representing the bounding box of the polygon with the specified points.

Returns the circumference of the polygon represented by the specified points.

Returns a two-dimensional array representing the points of the specified polygon.

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