public class BasicCelestialPoint extends AbstractCelestialPoint
PVCoordinatesProvider
or a CelestialBodyEphemeris
providing body position-velocity through time
For user-defined Celestial bodies, use UserCelestialBody
CelestialPoint.BodyNature
ECLIPTICJ2000_FRAME_NAME, EME2000_FRAME_NAME, ICRF_FRAME_NAME
Constructor and Description |
---|
BasicCelestialPoint(CelestialBodyFrame icrf,
String name,
double gm,
CelestialBodyEphemeris ephemeris)
Constructor.
|
BasicCelestialPoint(String name,
double gm,
CelestialBodyEphemeris ephemeris,
CelestialBodyFrame icrf)
Constructor.
|
BasicCelestialPoint(String name,
double gm,
CelestialBodyEphemeris ephemeris,
Frame parentFrame,
BSPEphemerisLoader.SpiceJ2000ConventionEnum convention)
Constructor.
|
BasicCelestialPoint(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
Frame parentFrame)
Constructor.
|
BasicCelestialPoint(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
Frame parentFrame,
BSPEphemerisLoader.SpiceJ2000ConventionEnum spiceJ2000Convention)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of the celestial point and its attributes.
|
getEclipticJ2000, getEME2000, getEphemeris, getGM, getICRF, getName, getNativeFrame, getPVCoordinates, setEphemeris, setGM
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBodyNature
public BasicCelestialPoint(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, Frame parentFrame)
SpiceJ2000ConventionEnum is set to ICRF.
name
- name of the bodyaPVCoordinateProvider
- Position-Velocity of celestial body. It is recommended that the native frame of aPVCoordinateProvider
should be identical (or near) to the given parentFrame, in order to minimize the frames transformations.gm
- gravitational attraction coefficient (in m3/s2)parentFrame
- parent frame (usually it should be the ICRF centered on the parent body)public BasicCelestialPoint(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, Frame parentFrame, BSPEphemerisLoader.SpiceJ2000ConventionEnum spiceJ2000Convention)
name
- name of the bodyaPVCoordinateProvider
- Position-Velocity of celestial body. It is recommended that the native frame of aPVCoordinateProvider
should be identical (or near) to the given parentFrame, in order to minimize the frames transformations.gm
- gravitational attraction coefficient (in m3/s2)parentFrame
- parent frame (usually it should be the ICRF centered on the parent body)spiceJ2000Convention
- Spice conventionpublic BasicCelestialPoint(String name, double gm, CelestialBodyEphemeris ephemeris, Frame parentFrame, BSPEphemerisLoader.SpiceJ2000ConventionEnum convention)
name
- namegm
- gravitational parameterephemeris
- ephemerisparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)convention
- spice convention for BSP framespublic BasicCelestialPoint(String name, double gm, CelestialBodyEphemeris ephemeris, CelestialBodyFrame icrf)
name
- namegm
- gravitational parameterephemeris
- ephemerisicrf
- icrf frame centered on this celestial pointpublic BasicCelestialPoint(CelestialBodyFrame icrf, String name, double gm, CelestialBodyEphemeris ephemeris)
icrf
- ICRF framename
- namegm
- gravitational parameterephemeris
- ephemerispublic String toString()
toString
in interface CelestialPoint
toString
in class AbstractCelestialPoint
Copyright © 2023 CNES. All rights reserved.