Skip navigation links
LazyLib
org.lazywizard.lazylib.campaign.orbits

Class KeplerOrbit

Parameters:
focus - SectorEntityToken whereabout the body orbits
semiMajorAxis - float length of the semi-minor axis, which is the distance from the focus to the orbital point furthest from it
semiMinorAxis - float length of the semi-minor axis, which is the distance from the focus to either of the two points where a line perpendicular to the semiMajorAxis intersects the orbit
angle - float degrees counterclockwise from horizontally right to the 'first' semi-major axis
period - float duration of one orbit in days
clockwise - boolean whether the orbit is clockwise (true) or counterclockwise (false)
Skip navigation links
LazyLib