Click or drag to resize

LongLatNorth Method

Returns a LongLat that represents a position the specified distance North of this.

Namespace: DegreeDays.Geo
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public LongLat North(
	Distance distance
)

Parameters

distance  Distance
A distance indicating how far North of this the returned LongLat position should be. (Or how far South if distance is negative.)

Return Value

LongLat
A LongLat that represents a position the specified distance North of this.
Remarks

If distance is negative, the returned LongLat will represent a position South of this.

Movements North and South are capped by the poles. At the North Pole, there is no way to go further North. So, for example, if position a is 20 miles from the North Pole, calling a.North(Distance.Miles(30)) will return the position of the North Pole. It won't overshoot and start going South.

See Also