Polygon.Contains method

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

Contains(double, double)

Returns whether the polygon contains the point defined by the specified latitude and longitude.

public bool Contains(double latitude, double longitude)

Parameters

latitude Double

The langitude of the point.

longitude Double

The longitude of the point.

Returns

true if the polygon contains the point; otheerwise false.

Contains(IPoint)

Virtual

Returns whether the polygon contains the specified point.

public virtual bool Contains(IPoint point)

Parameters

point IPoint

The point.

Returns

true if the polygon contains point; otheerwise false.