LongLatEquals(Object) Method |
Returns
true if
obj is a
LongLat instance
with the same
Longitude and
Latitude values as
this.
Namespace: DegreeDays.GeoAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
Parameters
- obj Object
- The object to compare with this instance.
Return Value
Booleantrue 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