Class AngularVelocity
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.adm.apm.AngularVelocity
-
- All Implemented Interfaces:
Section
public class AngularVelocity extends CommentsContainer
Container for Attitude Parameter Message data lines.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 usefulfromSi
andtoSI
methods in case the callers already use CCSDS units instead of the API SI units. The general-purposeUnit
class (without an 's') and the CCSDS-specificUnits
class (with an 's') also provide some predefined units. These predefined units and thefromSi
andtoSI
conversion methods are indeed what the parsers and writers use for the conversions.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AngularVelocity()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAngVelX()
Get the angular velocity around X axis (rad/s).double
getAngVelY()
Get the angular velocity around Y axis (rad/s).double
getAngVelZ()
Get the angular velocity around Z axis (rad/s).AttitudeEndpoints
getEndpoints()
Get the endpoints (i.e. frames A, B and their relationship).FrameFacade
getFrame()
Get frame in which angular velocities are specified.void
setAngVelX(double angVelX)
Set the angular velocity around X axis (rad/s).void
setAngVelY(double angVelY)
Set the angular velocity around Y axis (rad/s).void
setAngVelZ(double angVelZ)
Set the angular velocity around Z axis (rad/s).void
setFrame(FrameFacade frame)
Set frame in which angular velocities are specified.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, 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:
validate
in interfaceSection
- Overrides:
validate
in classCommentsContainer
- Parameters:
version
- format version
-
getEndpoints
public AttitudeEndpoints getEndpoints()
Get the endpoints (i.e. frames A, B and their relationship).- Returns:
- endpoints
-
setFrame
public void setFrame(FrameFacade frame)
Set frame in which angular velocities are specified.- Parameters:
frame
- frame in which angular velocities are specified
-
getFrame
public FrameFacade getFrame()
Get frame in which angular velocities are specified.- Returns:
- frame in which angular velocities are specified
-
getAngVelX
public double getAngVelX()
Get the angular velocity around X axis (rad/s).- Returns:
- angular velocity around X axis (rad/s)
-
setAngVelX
public void setAngVelX(double angVelX)
Set the angular velocity around X axis (rad/s).- Parameters:
angVelX
- angular velocity around X axis (rad/s)
-
getAngVelY
public double getAngVelY()
Get the angular velocity around Y axis (rad/s).- Returns:
- angular velocity around Y axis (rad/s)
-
setAngVelZ
public void setAngVelZ(double angVelZ)
Set the angular velocity around Z axis (rad/s).- Parameters:
angVelZ
- angular velocity around Z axis (rad/s)
-
getAngVelZ
public double getAngVelZ()
Get the angular velocity around Z axis (rad/s).- Returns:
- angular velocity around Z axis (rad/s)
-
setAngVelY
public void setAngVelY(double angVelY)
Set the angular velocity around Y axis (rad/s).- Parameters:
angVelY
- angular velocity around Y axis (rad/s)
-
-