getSimpleDistance method

double getSimpleDistance(
  1. LatLon end
)

Implementation

double getSimpleDistance(LatLon end)
{
  double dLat = this.lat - end.lat;
  double dLon = this.lon - end.lon;
  dLon = dLon / 2;  // Lat Lon use different degrees
  return dLon * dLon  + dLat * dLat;
}