Extends the rectangle to contain 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#
IGeoRectangle Add(
	ICoordinates coordinates
)

Parameters

coordinates
Type: Reimers.Core.Maps..::..ICoordinates
The ICoordinates to add to the rectangle.

Return Value

The bounds containing the added coordinates.

Exceptions

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

Contracts

Requires
coordinates != null
Ensures
Contract.Result<IGeoRectangle>() != null

See Also