get_distance


Description:

public double get_distance (Location loc2)

Determines the distance in kilometers between this and loc2.

Parameters:

this

a Location

loc2

a second Location

Returns:

the distance between this and loc2.