Package org.orekit.orbits
Class LibrationOrbit
- java.lang.Object
-
- org.orekit.orbits.LibrationOrbit
-
- Direct Known Subclasses:
HaloOrbit
,LyapunovOrbit
public abstract class LibrationOrbit extends Object
Base class for libration orbits.- Since:
- 10.2
- Author:
- Vincent Mouraux, Bryan Cazabonne
- See Also:
HaloOrbit
,LyapunovOrbit
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LibrationOrbit(CR3BPSystem system, PVCoordinates initialPV, double orbitalPeriod)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PVCoordinates
applyCorrectionOnPV(CR3BPDifferentialCorrection diff)
Apply the differential correction to compute more accurate initial PV.void
applyDifferentialCorrection()
Apply differential correction.PVCoordinates
getInitialPV()
Return the initialPV on the libration orbit.PVCoordinates
getManifolds(SpacecraftState s, boolean isStable)
Return a manifold direction from one position on a libration Orbit.double
getOrbitalPeriod()
Return the orbital period of the libration orbit.
-
-
-
Constructor Detail
-
LibrationOrbit
protected LibrationOrbit(CR3BPSystem system, PVCoordinates initialPV, double orbitalPeriod)
Constructor.- Parameters:
system
- CR3BP System consideredinitialPV
- initial position on a libration OrbitorbitalPeriod
- initial orbital period of the libration Orbit
-
-
Method Detail
-
getOrbitalPeriod
public double getOrbitalPeriod()
Return the orbital period of the libration orbit.- Returns:
- orbitalPeriod orbital period of the libration orbit
-
getInitialPV
public PVCoordinates getInitialPV()
Return the initialPV on the libration orbit.This will return the exact initialPV only if you applied a prior differential correction. If you did not, you can use the method
applyCorrectionOnPV(CR3BPDifferentialCorrection)
- Returns:
- initialPV initialPV on the libration orbit
-
applyDifferentialCorrection
public void applyDifferentialCorrection()
Apply differential correction.This will update
initialPV
andorbitalPeriod
parameters.
-
getManifolds
public PVCoordinates getManifolds(SpacecraftState s, boolean isStable)
Return a manifold direction from one position on a libration Orbit.- Parameters:
s
- SpacecraftState with additional equationsisStable
- true if the manifold is stable- Returns:
- manifold first guess Position-Velocity of a point on the libration Orbit
-
applyCorrectionOnPV
protected abstract PVCoordinates applyCorrectionOnPV(CR3BPDifferentialCorrection diff)
Apply the differential correction to compute more accurate initial PV.- Parameters:
diff
- cr3bp differential correction- Returns:
- corrected PV coordinates
-
-