.. default-domain:: js .. highlight:: js .. module:: Trajectories :no-index: 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 :meth:`Trajectories.DescentProfile.getFinalApproach` throughout. .. method:: getEntry() The node for atmospheric entry, from 50% to 100% of the height of the atmosphere. :Property: Read-only, cannot be set :rtype: :class:`Trajectories.DescentProfileNode` :Game Scenes: Flight .. method:: getHighAltitude() The node for high altitude, from 25% to 50% of the height of the atmosphere. :Property: Read-only, cannot be set :rtype: :class:`Trajectories.DescentProfileNode` :Game Scenes: Flight .. method:: getLowAltitude() The node for low altitude, from 5% to 25% of the height of the atmosphere. :Property: Read-only, cannot be set :rtype: :class:`Trajectories.DescentProfileNode` :Game Scenes: Flight .. method:: getFinalApproach() The node for the final approach, below 5% of the height of the atmosphere. :Property: Read-only, cannot be set :rtype: :class:`Trajectories.DescentProfileNode` :Game Scenes: Flight .. function:: save() 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:: reset([aoa]) Sets every node to an angle of attack, and saves the descent profile. :param aoa: The angle of attack in degrees. The default, 180, is retrograde. Defaults to ``180.0``. :type aoa: ``number`` :Game Scenes: Flight