Rectangle.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 rectangle contains the point at the specified latitude and longitude.

public bool Contains(double latitude, double longitude)

Parameters

latitude Double

The latitude of the point.

longitude Double

The longitude of the point.

Returns

truec> if the rectangle contains the point; otherwise false.

Contains(IPoint)

Virtual

Returns whether the rectangle contains point.

public virtual bool Contains(IPoint point)

Parameters

point IPoint

The point.

Returns

truec> if the rectangle contains the point; otherwise false.