PolygonUtils.Contains method

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

Contains(IPoint[], IPoint)

Static

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

public static bool Contains(IPoint[] coordinates, IPoint point)

Parameters

coordinates Array of IPoint

The coordinates of the polygon.

point IPoint

The point.

Returns

true if the polygon contains point, otherwise false.