Package org.orekit.bodies
Class PythonCelestialBodies
- java.lang.Object
-
- org.orekit.bodies.PythonCelestialBodies
-
- All Implemented Interfaces:
CelestialBodies
public class PythonCelestialBodies extends Object implements CelestialBodies
-
-
Constructor Summary
Constructors Constructor Description PythonCelestialBodies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectCelestialBody
getBody(String name)
Get a celestial body.CelestialBody
getEarth()
Get the Earth singleton body.CelestialBody
getEarthMoonBarycenter()
Get the Earth-Moon barycenter singleton bodies pair.CelestialBody
getJupiter()
Get the Jupiter singleton body.CelestialBody
getMars()
Get the Mars singleton body.CelestialBody
getMercury()
Get the Mercury singleton body.CelestialBody
getMoon()
Get the Moon singleton body.CelestialBody
getNeptune()
Get the Neptune singleton body.CelestialBody
getPluto()
Get the Pluto singleton body.CelestialBody
getSaturn()
Get the Saturn singleton body.CelestialBody
getSolarSystemBarycenter()
Get the solar system barycenter aggregated body.CelestialBody
getSun()
Get the Sun singleton body.CelestialBody
getUranus()
Get the Uranus singleton body.CelestialBody
getVenus()
Get the Venus singleton body.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getSolarSystemBarycenter
public CelestialBody getSolarSystemBarycenter()
Get the solar system barycenter aggregated body.Both the
inertially oriented frame
andbody oriented frame
for this aggregated body are aligned withICRF
(and therefore alsoGCRF
)- Specified by:
getSolarSystemBarycenter
in interfaceCelestialBodies
- Returns:
- solar system barycenter aggregated body
-
getSun
public CelestialBody getSun()
Get the Sun singleton body.- Specified by:
getSun
in interfaceCelestialBodies
- Returns:
- Sun body
-
getMercury
public CelestialBody getMercury()
Get the Mercury singleton body.- Specified by:
getMercury
in interfaceCelestialBodies
- Returns:
- Sun body
-
getVenus
public CelestialBody getVenus()
Get the Venus singleton body.- Specified by:
getVenus
in interfaceCelestialBodies
- Returns:
- Venus body
-
getEarthMoonBarycenter
public CelestialBody getEarthMoonBarycenter()
Get the Earth-Moon barycenter singleton bodies pair.Both the
inertially oriented frame
andbody oriented frame
for this bodies pair are aligned withICRF
(and therefore alsoGCRF
)- Specified by:
getEarthMoonBarycenter
in interfaceCelestialBodies
- Returns:
- Earth-Moon barycenter bodies pair
-
getEarth
public CelestialBody getEarth()
Get the Earth singleton body.- Specified by:
getEarth
in interfaceCelestialBodies
- Returns:
- Earth body
-
getMoon
public CelestialBody getMoon()
Get the Moon singleton body.- Specified by:
getMoon
in interfaceCelestialBodies
- Returns:
- Moon body
-
getMars
public CelestialBody getMars()
Get the Mars singleton body.- Specified by:
getMars
in interfaceCelestialBodies
- Returns:
- Mars body
-
getJupiter
public CelestialBody getJupiter()
Get the Jupiter singleton body.- Specified by:
getJupiter
in interfaceCelestialBodies
- Returns:
- Jupiter body
-
getSaturn
public CelestialBody getSaturn()
Get the Saturn singleton body.- Specified by:
getSaturn
in interfaceCelestialBodies
- Returns:
- Saturn body
-
getUranus
public CelestialBody getUranus()
Get the Uranus singleton body.- Specified by:
getUranus
in interfaceCelestialBodies
- Returns:
- Uranus body
-
getNeptune
public CelestialBody getNeptune()
Get the Neptune singleton body.- Specified by:
getNeptune
in interfaceCelestialBodies
- Returns:
- Neptune body
-
getPluto
public CelestialBody getPluto()
Get the Pluto singleton body.- Specified by:
getPluto
in interfaceCelestialBodies
- Returns:
- Pluto body
-
getBody
public CelestialBody getBody(String name)
Get a celestial body. The names of the common bodies are defined as constants inCelestialBodyFactory
.- Specified by:
getBody
in interfaceCelestialBodies
- Parameters:
name
- name of the celestial body- Returns:
- celestial body
-
-