Class Maneuver
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.odm.opm.Maneuver
-
- All Implemented Interfaces:
Section
public class Maneuver extends CommentsContainer
Maneuver in an OPM 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
Unitclass provides usefulfromSiandtoSImethods in case the callers already use CCSDS units instead of the API SI units. The general-purposeUnitclass (without an 's') and the CCSDS-specificUnitsclass (with an 's') also provide some predefined units. These predefined units and thefromSiandtoSIconversion methods are indeed what the parsers and writers use for the conversions.- Since:
- 6.1
- Author:
- sports
-
-
Constructor Summary
Constructors Constructor Description Maneuver()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompleted()Check if maneuver has been completed.doublegetDeltaMass()Get mass change during maneuver (value is < 0).doublegetDuration()Get duration (value is 0 for impulsive maneuver).Vector3DgetDV()Get velocity increment.AbsoluteDategetEpochIgnition()Get epoch ignition.FrameFacadegetReferenceFrame()Get Coordinate system for velocity increment vector.voidsetDeltaMass(double deltaMass)Set mass change during maneuver (value is < 0).voidsetDuration(double duration)Set duration (value is 0 for impulsive maneuver).voidsetDV(int i, double dVi)Set velocity increment component.voidsetEpochIgnition(AbsoluteDate epochIgnition)Set epoch ignition.voidsetReferenceFrame(FrameFacade referenceFrame)Set Coordinate system for velocity increment vector.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
-
-
-
-
Method Detail
-
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
-
getEpochIgnition
public AbsoluteDate getEpochIgnition()
Get epoch ignition.- Returns:
- epoch ignition
-
setEpochIgnition
public void setEpochIgnition(AbsoluteDate epochIgnition)
Set epoch ignition.- Parameters:
epochIgnition- epoch ignition
-
getReferenceFrame
public FrameFacade getReferenceFrame()
Get Coordinate system for velocity increment vector.- Returns:
- coordinate system for velocity increment vector
-
setReferenceFrame
public void setReferenceFrame(FrameFacade referenceFrame)
Set Coordinate system for velocity increment vector.- Parameters:
referenceFrame- coordinate system for velocity increment 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)
-
getDeltaMass
public double getDeltaMass()
Get mass change during maneuver (value is < 0).- Returns:
- mass change during maneuver (value is < 0)
-
setDeltaMass
public void setDeltaMass(double deltaMass)
Set mass change during maneuver (value is < 0).- Parameters:
deltaMass- mass change during maneuver (value is < 0)
-
getDV
public Vector3D getDV()
Get velocity increment.- Returns:
- velocity increment
-
setDV
public void setDV(int i, double dVi)Set velocity increment component.- Parameters:
i- component indexdVi- velocity increment component
-
completed
public boolean completed()
Check if maneuver has been completed.- Returns:
- true if maneuver has been completed
-
-