Help for this page

Select Code to Download


  1. or download this
          $a = 6378206.4;
          $b = 6356583.8;
    
  2. or download this
    // Reduced or Parametric Latitude
       Latitude Ellipsoid::
    ...
       double y = b * sin(eta*deg2rad);
       return sqrt(x*x + y*y);
    }  // Radius
    
  3. or download this
    // Given a Lat,Lon point, a distance (in meters), and an azimuth (in d
    +egrees),
    // this routine returns a new Lat,Lon point.
    ...
    
       return LatLon(lat, lon);
    }  // NewLatLon