public class UserCelestialBody extends AbstractCelestialBody
PVCoordinatesProvider
providing body position-velocity through timeEME2000_FRAME_NAME, ICRF_FRAME_NAME, INERTIAL_FRAME_CONSTANT_MODEL, INERTIAL_FRAME_MEAN_MODEL, INERTIAL_FRAME_TRUE_MODEL, ROTATING_FRAME_CONSTANT_MODEL, ROTATING_FRAME_MEAN_MODEL, ROTATING_FRAME_TRUE_MODEL
Constructor and Description |
---|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
IAUPole iauPole,
Frame parentFrame,
BodyShape shapeIn)
Build an instance and the underlying frame.
|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
GravityModel gravityModelIn,
IAUPole iauPole,
Frame parentFrame,
BodyShape shapeIn)
Build an instance and the underlying frame.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of the body and its attributes.
|
getEME2000, getEphemeris, getGM, getGravityModel, getIAUPole, getICRF, getInertialFrame, getName, getNativeFrame, getPVCoordinates, getRotatingFrame, getShape, setEphemeris, setGM, setGravityModel, setIAUPole, setShape
public UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, GravityModel gravityModelIn, IAUPole iauPole, Frame parentFrame, BodyShape shapeIn)
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.gravityModelIn
- gravitational attraction modeliauPole
- IAU pole implementationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shapeIn
- body shapepublic UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, IAUPole iauPole, Frame parentFrame, BodyShape shapeIn)
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)iauPole
- IAU pole implementationparentFrame
- parent frame (usually it should be the ICRF centered on the parent body)shapeIn
- body shapepublic String toString()
toString
in interface CelestialBody
toString
in class AbstractCelestialBody
Copyright © 2023 CNES. All rights reserved.