public enum LOFType extends Enum<LOFType>
Enum Constant and Description |
---|
LVLH
Constant for Local Vertical, Local Horizontal frame CCSDS definition (Z axis aligned with
opposite of position, Y axis aligned with opposite of orbital momentum)
|
mQmSW
Constant for -Q-SW frame
(X axis aligned with opposite of position, Z axis aligned with orbital momentum).
|
QSW
Constant for QSW frame
(X axis aligned with position, Z axis aligned with orbital momentum).
|
TNW
Constant for TNW frame
(X axis aligned with velocity, Z axis aligned with orbital momentum).
|
VNC
Constant for Velocity - Normal - Co-normal frame
(X axis aligned with velocity, Y axis aligned with orbital momentum).
|
Modifier and Type | Method and Description |
---|---|
protected abstract Vector3D |
computeOmega(PVCoordinates pv)
Get the rotation rate vector expressed in inertial frame.
|
protected abstract Rotation |
rotationFromInertial(PVCoordinates pv)
Get the rotation from inertial frame to local orbital frame.
|
Transform |
transformFromInertial(AbsoluteDate date,
PVCoordinates pv)
Get the transform from an inertial frame defining position-velocity and the local orbital
frame.
|
Transform |
transformFromInertial(AbsoluteDate date,
PVCoordinates pv,
boolean computeSpinDerivatives)
Get the transform from an inertial frame defining position-velocity and the local orbital
frame.
|
static LOFType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LOFType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LOFType TNW
The axes of this frame are parallel to the axes of the VNC
frame:
Important notice: if PV acceleration is null, an approximation is used considering a dynamic circular orbit.
VNC
public static final LOFType QSW
The axes of these frames are parallel to the axes of the LVLH
frame:
LVLH
public static final LOFType mQmSW
The axes of these frames are parallel to the axes of the QSW
frame:
QSW
public static final LOFType LVLH
The axes of this frame are parallel to the axes of the QSW
frame:
QSW
public static LOFType[] values()
for (LOFType c : LOFType.values()) System.out.println(c);
public static LOFType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Transform transformFromInertial(AbsoluteDate date, PVCoordinates pv, boolean computeSpinDerivatives)
date
- current datepv
- position-velocity of the spacecraft in some inertial framecomputeSpinDerivatives
- true if spin derivatives has to be computedpublic Transform transformFromInertial(AbsoluteDate date, PVCoordinates pv)
date
- current datepv
- position-velocity of the spacecraft in some inertial frameprotected abstract Rotation rotationFromInertial(PVCoordinates pv)
pv
- position-velocity of the spacecraft in some inertial frameprotected abstract Vector3D computeOmega(PVCoordinates pv)
pv
- position-velocity of the spacecraft in some inertial frameCopyright © 2023 CNES. All rights reserved.