.. default-domain:: js .. highlight:: js .. module:: Drawing :no-index: OrbitPath ========= .. class:: OrbitPath The path of an orbit. Created using :func:`Drawing.addOrbit`. | Base class: :class:`Drawing.Path` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.Path`: :meth:`getColors `, :meth:`setColors `, :meth:`getThickness `, :meth:`setThickness `, :meth:`getStartArrow `, :meth:`setStartArrow `, :meth:`getEndArrow `, :meth:`setEndArrow `, :meth:`getArrowSize `, :meth:`setArrowSize `, :meth:`getDashed `, :meth:`setDashed `, :meth:`getLabel `, :meth:`setLabel ` * From :class:`Drawing.Drawable`: :meth:`getVisible `, :meth:`setVisible `, :meth:`getColor `, :meth:`setColor `, :meth:`getMaterial `, :meth:`setMaterial `, :meth:`remove ` .. method:: getOrbit() setOrbit(value) The orbit. :Property: Can be read or written :rtype: :class:`SpaceCenter.Orbit` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getWholeOrbit() setWholeOrbit(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 :meth:`Drawing.OrbitPath.getStartTrueAnomaly` to :meth:`Drawing.OrbitPath.getEndTrueAnomaly`. :Property: Can be read or written :rtype: ``boolean`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getStartTrueAnomaly() setStartTrueAnomaly(value) The true anomaly at which the path starts, in radians. :Property: Can be read or written :rtype: ``number`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :meth:`Drawing.OrbitPath.getWholeOrbit` to false. .. method:: getEndTrueAnomaly() setEndTrueAnomaly(value) The true anomaly at which the path ends, in radians. :Property: Can be read or written :rtype: ``number`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :meth:`Drawing.OrbitPath.getWholeOrbit` to false.