Click or drag to resize

LongLatEquals(LongLat) Method

Returns true if other has the same Longitude and Latitude values as this.

Namespace: DegreeDays.Geo
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public bool Equals(
	LongLat other
)

Parameters

other  LongLat
The instance to compare with this instance.

Return Value

Boolean
true if other is equal to this instance; false otherwise.

Implements

IEquatableTEquals(T)
Remarks

Bear in mind that, because of slight inaccuracies introduced by floating-point arithmetic and rounding of longitude/latitude values when transported over XML, it's common for positions that are equal in practical terms to not be equal according to this method.

See Also