public class UserCelestialBody extends AbstractCelestialBody
PVCoordinatesProvider
providing body position-velocity through timeCelestialPoint.BodyNature
CONSTANT, INERTIAL_FRAME, INERTIAL_FRAME_CONSTANT_MODEL, INERTIAL_FRAME_MEAN_MODEL, INERTIAL_FRAME_TRUE_MODEL, MEAN, ROTATING_FRAME, ROTATING_FRAME_CONSTANT_MODEL, ROTATING_FRAME_MEAN_MODEL, ROTATING_FRAME_TRUE_MODEL, SPACE, TRUE
ECLIPTICJ2000_FRAME_NAME, EME2000_FRAME_NAME, ICRF_FRAME_NAME
Constructor and Description |
---|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
CelestialBodyOrientation celestialBodyOrientation,
Frame parentFrame,
BodyShape shape)
Constructor.
|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
CelestialBodyOrientation celestialBodyOrientation,
Frame parentFrame,
BodyShape shape,
BSPEphemerisLoader.SpiceJ2000ConventionEnum spiceJ2000Convention)
Constructor.
|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
GravityModel gravityModel,
CelestialBodyOrientation celestialBodyOrientation,
Frame parentFrame,
BodyShape shape)
Constructor.
|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
GravityModel gravityModel,
CelestialBodyOrientation celestialBodyOrientation,
Frame parentFrame,
BodyShape shape,
BSPEphemerisLoader.SpiceJ2000ConventionEnum spiceJ2000Convention)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of the celestial point and its attributes.
|
getGM, getGravityModel, getInertialFrame, getOrientation, getRotatingFrame, getShape, setGM, setGravityModel, setOrientation, setShape
getEclipticJ2000, getEME2000, getEphemeris, getICRF, getName, getNativeFrame, getPVCoordinates, setEphemeris
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBodyNature, getName
getEclipticJ2000, getEME2000, getEphemeris, getICRF, setEphemeris
getNativeFrame, getPVCoordinates
public UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, GravityModel gravityModel, CelestialBodyOrientation celestialBodyOrientation, Frame parentFrame, BodyShape shape, 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.gravityModel
- gravitational attraction modelcelestialBodyOrientation
- celestial body orientationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shape
- body shapespiceJ2000Convention
- Spice conventionpublic UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, GravityModel gravityModel, CelestialBodyOrientation celestialBodyOrientation, Frame parentFrame, BodyShape shape)
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.gravityModel
- gravitational attraction modelcelestialBodyOrientation
- celestial body orientationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shape
- body shapepublic UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, CelestialBodyOrientation celestialBodyOrientation, Frame parentFrame, BodyShape shape, 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)celestialBodyOrientation
- celestial body orientationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shape
- body shapespiceJ2000Convention
- Spice conventionpublic UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, CelestialBodyOrientation celestialBodyOrientation, Frame parentFrame, BodyShape shape)
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)celestialBodyOrientation
- celestial body orientationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shape
- body shapepublic String toString()
toString
in interface CelestialPoint
toString
in class AbstractCelestialBody
Copyright © 2023 CNES. All rights reserved.