Returns whether the bounding rectangle contains the passed coordinates.

Namespace: Reimers.Core.Maps
Assembly: Reimers.Core (in Reimers.Core.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
[PureAttribute]
bool Contains(
	ICoordinates coordinates
)

Parameters

coordinates
Type: Reimers.Core.Maps..::..ICoordinates
The ICoordinates to check.

Return Value

Returns true if the coordinates are inside the bounding rectangle, otherwise false.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioncoordinates == null

Contracts

This method is pure.
Requires
coordinates != null

See Also