equal


Description:

[ Version ( since = "3.23.1" ) ]
public bool equal (Location b)

Compare two Location instances for equality.

This compares all fields and only returns true if the instances are exactly equal. For example, if both locations have the same physical coordinates, but one location has its description property set and the other does not, false will be returned. Similarly, if both locations have the same latitude, longitude and altitude, but a different accuracy or timestamp, false will be returned. Or if both locations have the same#GeocodeLocation:latitude and longitude but a different altitude, false will be returned.

Both instances must be non-%NULL.

Parameters:

this

a location

b

another location

Returns:

true if the instances are equal, false otherwise