public abstract class AbstractJPLCelestialBodyLoader extends Object implements CelestialBodyLoader
| Constructor and Description |
|---|
AbstractJPLCelestialBodyLoader(String supportedNamesIn,
JPLEphemerisLoader ephemerisLoader)
Create a loader for JPL ephemerides binary files (DE-INPOP type).
|
| Modifier and Type | Method and Description |
|---|---|
protected BodyShape |
buildDefaultBodyShape(String name,
CelestialBodyFrame bodyFrame,
PredefinedEphemerisType ephemerisType)
Builds a
OneAxisEllipsoid as a default shape for the loaded celestial body. |
JPLEphemerisLoader |
getEphemerisLoader()
Returns the ephemeris loader.
|
double |
getLoadedGravitationalCoefficient(PredefinedEphemerisType body)
Get the gravitational coefficient of a body.
|
String |
getSupportedNames()
Returns the supported file names.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, loadCelestialBody, loadCelestialPointpublic AbstractJPLCelestialBodyLoader(String supportedNamesIn, JPLEphemerisLoader ephemerisLoader)
supportedNamesIn - regular expression for supported files namesephemerisLoader - ephemeris loaderpublic double getLoadedGravitationalCoefficient(PredefinedEphemerisType body) throws PatriusException
body - body for which the gravitational coefficient is requestedPatriusException - if constants cannot be loadedprotected BodyShape buildDefaultBodyShape(String name, CelestialBodyFrame bodyFrame, PredefinedEphemerisType ephemerisType)
OneAxisEllipsoid as a default shape for the loaded celestial body.
In the case the celestial body is not physically defined, typically the case for barycenters, the default shape
returned is a null shape.name - the body namebodyFrame - parent frame (usually it should be the ICRF centered on the parent body)ephemerisType - ephemeris typepublic JPLEphemerisLoader getEphemerisLoader()
public String getSupportedNames()
Copyright © 2024 CNES. All rights reserved.