Class Maneuver
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.adm.apm.Maneuver
-
- All Implemented Interfaces:
Section
public class Maneuver extends CommentsContainer
Maneuver in an APM file.- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
-
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
getDuration()
Get duration (value is 0 for impulsive maneuver).AbsoluteDate
getEpochStart()
Get epoch start.String
getRefFrameString()
Get Coordinate system for the torque vector, for absolute frames.Vector3D
getTorque()
Get the torque vector (N.m).void
setDuration(double duration)
Set duration (value is 0 for impulsive maneuver).void
setEpochStart(AbsoluteDate epochStart)
Set epoch start.void
setRefFrameString(String refFrameString)
Set Coordinate system for the torque vector, for absolute frames.void
setTorque(int index, double value)
Set the torque vector (N.m).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
-
getEpochStart
public AbsoluteDate getEpochStart()
Get epoch start.- Returns:
- epoch start
-
setEpochStart
public void setEpochStart(AbsoluteDate epochStart)
Set epoch start.- Parameters:
epochStart
- epoch start
-
getRefFrameString
public String getRefFrameString()
Get Coordinate system for the torque vector, for absolute frames.- Returns:
- coordinate system for the torque vector, for absolute frames
-
setRefFrameString
public void setRefFrameString(String refFrameString)
Set Coordinate system for the torque vector, for absolute frames.- Parameters:
refFrameString
- coordinate system for the torque vector, for absolute frames
-
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)
-
completed
public boolean completed()
Check if maneuver has been completed.- Returns:
- true if maneuver has been completed
-
getTorque
public Vector3D 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
-
-