.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::Trajectories DescentProfile ============== .. class:: DescentProfile The descent profile, which sets the attitude of the vessel during the descent. .. note:: Each node covers a band of altitude, as a percentage of the height of the atmosphere. A body without an atmosphere uses :func:`DescentProfile::final_approach` throughout. .. function:: DescentProfileNode entry() The node for atmospheric entry, from 50% to 100% of the height of the atmosphere. :Game Scenes: Flight .. function:: DescentProfileNode high_altitude() The node for high altitude, from 25% to 50% of the height of the atmosphere. :Game Scenes: Flight .. function:: DescentProfileNode low_altitude() The node for low altitude, from 5% to 25% of the height of the atmosphere. :Game Scenes: Flight .. function:: DescentProfileNode final_approach() The node for the final approach, below 5% of the height of the atmosphere. :Game Scenes: Flight .. function:: static void save(krpc::Connection& connection) Saves the descent profile to the active vessel. :Game Scenes: Flight .. note:: A change to a node applies without saving. Saving keeps it in the saved game. .. function:: static void reset(krpc::Connection& connection, double aoa = 180.0) Sets every node to an angle of attack, and saves the descent profile. :Parameters: * **aoa** -- The angle of attack in degrees. The default, 180, is retrograde. :Game Scenes: Flight