Class StateVector

  • All Implemented Interfaces:
    Section

    public class StateVector
    extends CommentsContainer
    Container for state vector data.
    Since:
    11.2
    Author:
    Melina Vanel
    • Constructor Detail

      • StateVector

        public StateVector()
        Simple constructor.
    • 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 interface Section
        Overrides:
        validate in class CommentsContainer
        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)