The ephemeris that define this orbit.
The color of the orbital ellipse.
The color of lines drawn
settings for the path
orbit path lead time in years
orbit path trail time in years
number of points to use when drawing the orbit line. Only applicable for non-elliptical and ephemeris table orbits. perpendicular to the ecliptic in order to illustrate depth (defaults to 0x333333).
Get the color of this orbit.
The hexadecimal color of the orbital ellipse.
A geometry containing line segments that run between the orbit ellipse and the ecliptic plane of the solar system. This is a useful visual effect that makes it easy to tell when an orbit goes below or above the ecliptic plane.
A geometry with many line segments.
Calculates, caches, and returns the orbit state for this orbit around this time
Optionaljd: number
center time of the orbit (only used for ephemeris table ephemeris)
forces the recomputing of the orbit on this call
Get heliocentric position of object at a given JD.
Date value in JD.
Set true for debug output.
[X, Y, Z] coordinates
Get the visibility of this orbit.
Whether the orbital ellipse is visible. Note that although the ellipse may not be visible, it is still present in the underlying Scene and Simultation.
Returns whether the requested epoch is within the current orbit's definition. Used only for ephemeris tables.
true if it is within the orbit span, false if not
The hexadecimal color of the orbital ellipse.
Change the visibility of this orbit.
Whether to show the orbital ellipse.
Given true anomaly and heliocentric distance, returns the scaled heliocentric coordinates (X, Y, Z)
True anomaly
Heliocentric distance
Heliocentric coordinates
StaticgetGet the type of orbit. Returns one of OrbitType.PARABOLIC, HYPERBOLIC, ELLIPTICAL, or UNKNOWN.
Name of orbit type
A class that builds a visual representation of a Kepler orbit.
Example