get_distance_from


Description:

public double get_distance_from (Location locb)

Calculates the distance in km, along the curvature of the Earth, between 2 locations.

Note that altitude changes are not taken into account.

Parameters:

this

a Location

locb

a Location

Returns:

a distance in km.