]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/waypoint.hxx
Allow a waypoint's target altitude to be modified in-place.
[simgear.git] / simgear / route / waypoint.hxx
index 29edf7397c24e44a184c76d8bbd5da378ed1f49a..275d648e6811b822ed4941dd92d74eb1e3ebbe32 100644 (file)
@@ -130,6 +130,12 @@ public:
 
     inline const SGGeod& get_target() const { return pos; }
 
+    /**
+     *
+     */
+    inline void setTargetAltFt(double elev)
+    { pos.setElevationFt(elev); }
+
     /**
      * This value is not calculated by this class.  It is simply a
      * placeholder for the user to stash a distance value.  This is useful