Class Maneuver
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.apm.Maneuver
- All Implemented Interfaces:
Section
Maneuver in an APM file.
Beware that the Orekit getters and setters all rely on SI units. The parsers
and writers take care of converting these SI units into CCSDS mandatory units.
The Unit class provides useful
fromSi and
toSI methods in case the callers
already use CCSDS units instead of the API SI units. The general-purpose
Unit class (without an 's') and the
CCSDS-specific Units class
(with an 's') also provide some predefined units. These predefined units and the
fromSi and
toSI conversion methods are indeed
what the parsers and writers use for the conversions.
- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet mass change during maneuver.doubleGet duration (value is 0 for impulsive maneuver).Get epoch start.getFrame()Get Coordinate system for the torque vector.Get the torque vector (N.m).voidsetDeltaMass(double deltaMass) Set mass change during maneuver.voidsetDuration(double duration) Set duration (value is 0 for impulsive maneuver).voidsetEpochStart(AbsoluteDate epochStart) Set epoch start.voidsetFrame(FrameFacade frame) Set Coordinate system for the torque vector.voidsetTorque(int index, double value) Set the torque vector (N.m).voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
Maneuver
public Maneuver()Simple constructor.
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
- Specified by:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- Parameters:
version- format version
-
getEpochStart
Get epoch start.- Returns:
- epoch start
-
setEpochStart
Set epoch start.- Parameters:
epochStart- epoch start
-
getFrame
Get Coordinate system for the torque vector.- Returns:
- coordinate system for the torque vector
-
setFrame
Set Coordinate system for the torque vector.- Parameters:
frame- coordinate system for the torque vector
-
getDuration
public double getDuration()Get duration (value is 0 for impulsive maneuver).- Returns:
- duration (value is 0 for impulsive maneuver)
-
setDuration
public void setDuration(double duration) Set duration (value is 0 for impulsive maneuver).- Parameters:
duration- duration (value is 0 for impulsive maneuver)
-
getTorque
Get the torque vector (N.m).- Returns:
- torque vector
-
setTorque
public void setTorque(int index, double value) Set the torque vector (N.m).- Parameters:
index- vector component index (counting from 0)value- component value
-
getDeltaMass
public double getDeltaMass()Get mass change during maneuver.- Returns:
- mass change during maneuver (kg, negative)
- Since:
- 12.0
-
setDeltaMass
public void setDeltaMass(double deltaMass) Set mass change during maneuver.- Parameters:
deltaMass- mass change during maneuver (kg)- Since:
- 12.0
-