Click or drag to resize

LongLatEquals(Object) Method

Returns true if obj is a LongLat instance with the same Longitude and Latitude values as this.

Namespace: DegreeDays.Geo
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj  Object
The object to compare with this instance.

Return Value

Boolean
true if obj is equal to this instance; false otherwise.
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