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.- 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 boolean
completed()
Check if maneuver has been completed.double
getDeltaMass()
Get mass change during maneuver (value is < 0).double
getDuration()
Get duration (value is 0 for impulsive maneuver).Vector3D
getDV()
Get velocity increment.AbsoluteDate
getEpochIgnition()
Get epoch ignition.FrameFacade
getReferenceFrame()
Get Coordinate system for velocity increment vector.void
setDeltaMass(double deltaMass)
Set mass change during maneuver (value is < 0).void
setDuration(double duration)
Set duration (value is 0 for impulsive maneuver).void
setDV(int i, double dVi)
Set velocity increment component.void
setEpochIgnition(AbsoluteDate epochIgnition)
Set epoch ignition.void
setReferenceFrame(FrameFacade referenceFrame)
Set Coordinate system for velocity increment vector.void
validate(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
-
-
-
-
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:
validate
in interfaceSection
- Overrides:
validate
in 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
-
-