getDistance method

double getDistance()

Implementation

double getDistance() {
  return dist;
}