getDistance method

double getDistance()

Implementation

double getDistance() {
  return distance;
}