Ejemplo n.º 1
0
 public Builder Target(Space.LatLongAltitude latLonAlt)
 {
     this.m_target              = latLonAlt.GetLatLong();
     this.m_targetElevation     = latLonAlt.GetAltitude();
     this.m_targetElevationMode = Space.ElevationMode.HeightAboveSeaLevel;
     return(this);
 }
Ejemplo n.º 2
0
 public static LatLongAltitudeInterop ToLatLongAltitudeInterop(this Space.LatLongAltitude lla)
 {
     return(new LatLongAltitudeInterop
     {
         LatitudeDegrees = lla.GetLatitude(),
         LongitudeDegrees = lla.GetLongitude(),
         Altitude = lla.GetAltitude()
     });
 }