Package org.orekit.files.ccsds.ndm.cdm
Class StateVector
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.cdm.StateVector
-
- All Implemented Interfaces:
Section
public class StateVector extends CommentsContainer
Container for state vector data.- Since:
- 11.2
- Author:
- Melina Vanel
-
-
Constructor Summary
Constructors Constructor Description StateVector()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3D
getPositionVector()
Get object Position Vector.Vector3D
getVelocityVector()
Get object Velocity Vector.void
setX(double X)
Set object Position Vector X component.void
setXdot(double Xdot)
Set object Velocity Vector X component.void
setY(double Y)
Set object Position Vector Y component.void
setYdot(double Ydot)
Set object Velocity Vector Y component.void
setZ(double Z)
Set object Position Vector Z component.void
setZdot(double Zdot)
Set object Velocity Vector Z component.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
-
setX
public void setX(double X)
Set object Position Vector X component.- Parameters:
X
- object Position Vector X component (in m)
-
setY
public void setY(double Y)
Set object Position Vector Y component.- Parameters:
Y
- object Position Vector Y component (in m)
-
setZ
public void setZ(double Z)
Set object Position Vector Z component.- Parameters:
Z
- object Position Vector Z component (in m)
-
setXdot
public void setXdot(double Xdot)
Set object Velocity Vector X component.- Parameters:
Xdot
- object Velocity Vector X component (in m/s)
-
setYdot
public void setYdot(double Ydot)
Set object Velocity Vector Y component.- Parameters:
Ydot
- object Velocity Vector Y component (in m/s)
-
setZdot
public void setZdot(double Zdot)
Set object Velocity Vector Z component.- Parameters:
Zdot
- object Velocity Vector Z component (in m/s)
-
getPositionVector
public Vector3D getPositionVector()
Get object Position Vector.- Returns:
- object Position Vector (in m)
-
getVelocityVector
public Vector3D getVelocityVector()
Get object Velocity Vector.- Returns:
- object Velocity Vector (in m/s)
-
-