public class SynodicFrame extends Object
Center of the frame at the center of the provided inertial frame.
X axis directed along the line (secondary body, main body) and directed toward main body
Z axis out-of-plane
Coordinates in synodic frame are normalized: for example in the system (Sun, Earth) with inertial frame being Earth-centered, synodic frame is centered on Earth and Sun coordinates are (1, 0, 0).
Due to its particular definition (handling of adimensional quantities), this frame does not inherit the
Frame class.
| Constructor and Description |
|---|
SynodicFrame(PVCoordinatesProvider bigPrimaryBody,
PVCoordinatesProvider smallSecondaryBody,
double meanMotion)
Build a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
PVCoordinatesProvider |
getBody1()
Returns the primary body.
|
PVCoordinatesProvider |
getBody2()
Returns the secondary body.
|
double |
getMeanMotion()
Returns the secondary body mean motion.
|
PVCoordinates |
inertialToSynodic(AbsoluteDate date,
Frame frame,
PVCoordinates pvInertial)
Transformation from inertial frame to synodic frame.
|
Vector3D |
inertialToSynodicAcceleration(AbsoluteDate date,
Frame frame,
PVCoordinates pvInertial,
Vector3D accelerationInertial3D)
Transformation of acceleration from inertial frame to synodic frame.
|
PVCoordinates |
synodicToInertial(AbsoluteDate date,
Frame frame,
PVCoordinates pvSynodic)
Transformation from synodic frame to inertial frame.
|
Vector3D |
synodicToInertialAcceleration(AbsoluteDate date,
Frame frame,
PVCoordinates pvSynodic,
Vector3D accelerationSynodic3D)
Transformation of acceleration from synodic frame to inertial frame.
|
public SynodicFrame(PVCoordinatesProvider bigPrimaryBody, PVCoordinatesProvider smallSecondaryBody, double meanMotion)
bigPrimaryBody - main body of the three-body problemsmallSecondaryBody - secondary body of the three-body problemmeanMotion - secondary body mean motionpublic PVCoordinates inertialToSynodic(AbsoluteDate date, Frame frame, PVCoordinates pvInertial) throws PatriusException
date - At which the transformation is to be done.frame - In which the transformation is done.pvInertial - Initial PVCoordinates in the inertial frame.PatriusException - thrown if body coordinates could not be retrievedpublic PVCoordinates synodicToInertial(AbsoluteDate date, Frame frame, PVCoordinates pvSynodic) throws PatriusException
date - At which the transformation is to be done.frame - In which the transformation is done.pvSynodic - Initial PVCoordinates in the synodic reference frame.PatriusException - thrown if body coordinates could not be retrievedpublic Vector3D synodicToInertialAcceleration(AbsoluteDate date, Frame frame, PVCoordinates pvSynodic, Vector3D accelerationSynodic3D) throws PatriusException
date - At which the transformation is to be done.frame - In which the transformation is done.pvSynodic - Initial PVCoordinates in the synodic reference frame.accelerationSynodic3D - Acceleration in synodic reference frame Vector3DPatriusException - thrown if body coordinates could not be retrievedpublic Vector3D inertialToSynodicAcceleration(AbsoluteDate date, Frame frame, PVCoordinates pvInertial, Vector3D accelerationInertial3D) throws PatriusException
date - At which the transformation is to be done.frame - In which the transformation is done.pvInertial - Initial PVCoordinates in the inertial frame.accelerationInertial3D - Initial acceleration in the inertial frame.PatriusException - thrown if body coordinates could not be retrievedpublic final PVCoordinatesProvider getBody1()
public final PVCoordinatesProvider getBody2()
public final double getMeanMotion()
Copyright © 2021 CNES. All rights reserved.