Package org.orekit.bodies
Interface CelestialBodies
-
- All Known Implementing Classes:
LazyLoadedCelestialBodies
public interface CelestialBodiesCommonly used celestial bodies. This interface defines methods for obtaining intances of the commonly used celestial bodies.- Since:
- 10.1
- Author:
- Luc Maisonobe, Evan Ward
- See Also:
CelestialBodyFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CelestialBodygetBody(String name)Get a celestial body.CelestialBodygetEarth()Get the Earth singleton body.CelestialBodygetEarthMoonBarycenter()Get the Earth-Moon barycenter singleton bodies pair.CelestialBodygetJupiter()Get the Jupiter singleton body.CelestialBodygetMars()Get the Mars singleton body.CelestialBodygetMercury()Get the Mercury singleton body.CelestialBodygetMoon()Get the Moon singleton body.CelestialBodygetNeptune()Get the Neptune singleton body.CelestialBodygetPluto()Get the Pluto singleton body.CelestialBodygetSaturn()Get the Saturn singleton body.CelestialBodygetSolarSystemBarycenter()Get the solar system barycenter aggregated body.CelestialBodygetSun()Get the Sun singleton body.CelestialBodygetUranus()Get the Uranus singleton body.CelestialBodygetVenus()Get the Venus singleton body.
-
-
-
Method Detail
-
getSolarSystemBarycenter
CelestialBody getSolarSystemBarycenter()
Get the solar system barycenter aggregated body.Both the
inertially oriented frameandbody oriented framefor this aggregated body are aligned withICRF(and therefore alsoGCRF)- Returns:
- solar system barycenter aggregated body
-
getSun
CelestialBody getSun()
Get the Sun singleton body.- Returns:
- Sun body
-
getMercury
CelestialBody getMercury()
Get the Mercury singleton body.- Returns:
- Sun body
-
getVenus
CelestialBody getVenus()
Get the Venus singleton body.- Returns:
- Venus body
-
getEarthMoonBarycenter
CelestialBody getEarthMoonBarycenter()
Get the Earth-Moon barycenter singleton bodies pair.Both the
inertially oriented frameandbody oriented framefor this bodies pair are aligned withICRF(and therefore alsoGCRF)- Returns:
- Earth-Moon barycenter bodies pair
-
getEarth
CelestialBody getEarth()
Get the Earth singleton body.- Returns:
- Earth body
-
getMoon
CelestialBody getMoon()
Get the Moon singleton body.- Returns:
- Moon body
-
getMars
CelestialBody getMars()
Get the Mars singleton body.- Returns:
- Mars body
-
getJupiter
CelestialBody getJupiter()
Get the Jupiter singleton body.- Returns:
- Jupiter body
-
getSaturn
CelestialBody getSaturn()
Get the Saturn singleton body.- Returns:
- Saturn body
-
getUranus
CelestialBody getUranus()
Get the Uranus singleton body.- Returns:
- Uranus body
-
getNeptune
CelestialBody getNeptune()
Get the Neptune singleton body.- Returns:
- Neptune body
-
getPluto
CelestialBody getPluto()
Get the Pluto singleton body.- Returns:
- Pluto body
-
getBody
CelestialBody getBody(String name)
Get a celestial body. The names of the common bodies are defined as constants inCelestialBodyFactory.- Parameters:
name- name of the celestial body- Returns:
- celestial body
-
-