Пример #1
0
        public Enu ToEnu(Lla origin)
        {
            Enu enu = new Enu();

            enu.East  = (Lon - origin.Lon) * GPS.ESMAJ * Math.Cos(Lat);
            enu.North = (Lat - origin.Lat) * GPS.ESMAJ;
            enu.Up    = Alt - origin.Alt;
            return(enu);
        }
Пример #2
0
 public Lla AddEnu(Enu enu)
 {
     return(enu.ToLla(this));
 }