GeoLocation - meytar14/ex2 GitHub Wiki

GeoLocation

Consructor:

GeoLocation​(double x, double y, double z)

Methods:

distance​(geo_location g)- return the distance from this location to the input location.

x()- return the x of this location.

y()- return the y of this location.

z()- return the z of this location.