.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::Drawing OrbitPath ========= .. class:: OrbitPath The path of an orbit. Created using :func:`add_orbit`. | Base class: :class:`Path` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Path`: :func:`colors `, :func:`set_colors `, :func:`thickness `, :func:`set_thickness `, :func:`start_arrow `, :func:`set_start_arrow `, :func:`end_arrow `, :func:`set_end_arrow `, :func:`arrow_size `, :func:`set_arrow_size `, :func:`dashed `, :func:`set_dashed `, :func:`label `, :func:`set_label ` * From :class:`Drawable`: :func:`visible `, :func:`set_visible `, :func:`color `, :func:`set_color `, :func:`material `, :func:`set_material `, :func:`remove ` .. function:: SpaceCenter::Orbit orbit() .. function:: void set_orbit(SpaceCenter::Orbit value) The orbit. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: bool whole_orbit() .. function:: void set_whole_orbit(bool value) Whether the whole orbit is drawn, up to where it leaves the sphere of influence of its body. When false, the orbit is drawn from :func:`OrbitPath::start_true_anomaly` to :func:`OrbitPath::end_true_anomaly`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: double start_true_anomaly() .. function:: void set_start_true_anomaly(double value) The true anomaly at which the path starts, in radians. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :func:`OrbitPath::whole_orbit` to false. .. function:: double end_true_anomaly() .. function:: void set_end_true_anomaly(double value) The true anomaly at which the path ends, in radians. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :func:`OrbitPath::whole_orbit` to false.