.. default-domain:: lua .. highlight:: lua .. currentmodule:: Drawing OrbitPath ========= .. class:: OrbitPath The path of an orbit. Created using :meth:`Drawing.add_orbit`. | Base class: :class:`Drawing.Path` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.Path`: :attr:`colors `, :attr:`thickness `, :attr:`start_arrow `, :attr:`end_arrow `, :attr:`arrow_size `, :attr:`dashed `, :attr:`label ` * From :class:`Drawing.Drawable`: :attr:`visible `, :attr:`color `, :attr:`material `, :meth:`remove ` .. attribute:: orbit: SpaceCenter.Orbit The orbit. :Attribute: Can be read or written .. attribute:: whole_orbit: boolean 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 :attr:`Drawing.OrbitPath.start_true_anomaly` to :attr:`Drawing.OrbitPath.end_true_anomaly`. :Attribute: Can be read or written .. attribute:: start_true_anomaly: number The true anomaly at which the path starts, in radians. :Attribute: Can be read or written .. note:: Setting this sets :attr:`Drawing.OrbitPath.whole_orbit` to false. .. attribute:: end_true_anomaly: number The true anomaly at which the path ends, in radians. :Attribute: Can be read or written .. note:: Setting this sets :attr:`Drawing.OrbitPath.whole_orbit` to false.