Class LambertSolution


  • public class LambertSolution
    extends Object
    Class holding a solution to the Lambert problem.
    Since:
    14.0
    Author:
    Rafael Ayala
    • Constructor Detail

      • LambertSolution

        public LambertSolution​(int nRev,
                               LambertPathType pathType,
                               LambertOrbitType orbitType,
                               boolean posigrade,
                               LambertBoundaryConditions boundaryConditions,
                               Vector3D v1,
                               Vector3D v2)
        Basic constructor with initial and terminal velocities.
        Parameters:
        nRev - number of complete revolutions
        pathType - path (high or low)
        orbitType - orbit type (elliptic, parabolic, etc)
        posigrade - posigrade flag (true for prograde orbits, false for retrograde orbits)
        boundaryConditions - LambertBoundaryConditions with the boundary conditions for the Lambert problem
        v1 - velocity at t1 (initial velocity)
        v2 - velocity at t2 (terminal velocity)
      • LambertSolution

        public LambertSolution​(int nRev,
                               LambertPathType pathType,
                               LambertOrbitType orbitType,
                               boolean posigrade,
                               LambertBoundaryConditions boundaryConditions,
                               LambertBoundaryVelocities boundaryVelocities)
        Basic constructor with LambertBoundaryVelocities directly.
        Parameters:
        nRev - number of complete revolutions
        pathType - path (high or low)
        orbitType - orbit type (elliptic, parabolic, etc)
        posigrade - posigrade flag (true for prograde orbits, false for retrograde orbits)
        boundaryConditions - LambertBoundaryConditions with the boundary conditions for the Lambert problem
        boundaryVelocities - LambertBoundaryVelocities with initial and terminal velocities
    • Method Detail

      • getNRev

        public int getNRev()
        Get the number of complete revolutions.
        Returns:
        number of complete revolutions
      • getPathType

        public LambertPathType getPathType()
        Get the path type (high or low).
        Returns:
        path type
      • getOrbitType

        public LambertOrbitType getOrbitType()
        Get the orbit type (elliptic, parabolic, hyperbolic).
        Returns:
        orbit type
      • getPosigrade

        public boolean getPosigrade()
        Get the posigrade flag.
        Returns:
        posigrade flag
      • getBoundaryConditions

        public LambertBoundaryConditions getBoundaryConditions()
        Get the boundary conditions.
        Returns:
        boundary conditions
      • getBoundaryVelocities

        public LambertBoundaryVelocities getBoundaryVelocities()
        Get the boundary velocities.
        Returns:
        boundary velocities