Package org.orekit.propagation.relative
Class AbstractRelativeProvider
java.lang.Object
org.orekit.propagation.relative.AbstractRelativeProvider
- All Implemented Interfaces:
AdditionalDataProvider<double[]>,RelativeProvider
- Direct Known Subclasses:
ClohessyWiltshireProvider,YamanakaAnkersenProvider
Abstraction class for RelativeProvider.
- Since:
- 14.0
- Author:
- Romain Cuvillon
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractRelativeProvider(Orbit targetOrbit, String additionalEquationsName, LOF lof) Builds a new RelativeProvider object from the target orbit and additionalEquationsName.AbstractRelativeProvider(Orbit targetOrbit, TimeStampedPVCoordinates initialChaserPVTLof, String additionalEquationsName, LOF lof) Builds a new RelativeProvider object from the target orbit and an initial PVT of the chaser.AbstractRelativeProvider(Orbit targetOrbit, TimeStampedPVCoordinates initialChaserPVT, Frame inputPVTFrame, String additionalEquationsName, LOF lof) Builds a new RelativeProvider object from the target orbit and an initial PVT of the chaser expressed in the given input frame. -
Method Summary
Modifier and TypeMethodDescriptionGet the initial TimeStampedPVCoordinates of the chaser in the Local Orbital Frame of the target.getLof()Returns the LOF used by the provider.getName()Get the name of the additional data.Get orbit of the target.voidsetInitialChaserPVTLof(TimeStampedPVCoordinates initialChaserPVTLof) Set the initial TimeStampedPVCoordinates of the chaser in the Local Orbital Frame of the target.voidsetTargetOrbit(Orbit targetOrbit) Set orbit of the target.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.AdditionalDataProvider
init, update, yieldsMethods inherited from interface org.orekit.propagation.relative.RelativeProvider
extractChaserPVT, extractChaserPVT, getAdditionalData, setTargetTrueAnomaly
-
Constructor Details
-
AbstractRelativeProvider
public AbstractRelativeProvider(Orbit targetOrbit, TimeStampedPVCoordinates initialChaserPVTLof, String additionalEquationsName, LOF lof) Builds a new RelativeProvider object from the target orbit and an initial PVT of the chaser.- Parameters:
targetOrbit- Target orbitinitialChaserPVTLof- Chaser PVT in the target's local orbital frameadditionalEquationsName- Additional equations namelof- Local Orbital Frame
-
AbstractRelativeProvider
Builds a new RelativeProvider object from the target orbit and additionalEquationsName.- Parameters:
targetOrbit- Target orbitadditionalEquationsName- Additional equations namelof- Local Orbital Frame
-
AbstractRelativeProvider
public AbstractRelativeProvider(Orbit targetOrbit, TimeStampedPVCoordinates initialChaserPVT, Frame inputPVTFrame, String additionalEquationsName, LOF lof) Builds a new RelativeProvider object from the target orbit and an initial PVT of the chaser expressed in the given input frame.- Parameters:
targetOrbit- Target orbitinitialChaserPVT- Chaser PVT in the input FrameinputPVTFrame- Input frame for the initial chaser PVTadditionalEquationsName- Additional equations namelof- Local Orbital Frame
-
-
Method Details
-
getLof
Returns the LOF used by the provider..- Specified by:
getLofin interfaceRelativeProvider- Returns:
- the LOF used by the provider
-
setInitialChaserPVTLof
Set the initial TimeStampedPVCoordinates of the chaser in the Local Orbital Frame of the target..- Specified by:
setInitialChaserPVTLofin interfaceRelativeProvider- Parameters:
initialChaserPVTLof- initial TimeStampedPVCoordinates of the chaser in target's LOF
-
getInitialChaserPVTLof
Description copied from interface:RelativeProviderGet the initial TimeStampedPVCoordinates of the chaser in the Local Orbital Frame of the target.- Specified by:
getInitialChaserPVTLofin interfaceRelativeProvider- Returns:
- initial TimeStampedPVCoordinates of the chaser in target's LOF
-
getName
Description copied from interface:AdditionalDataProviderGet the name of the additional data.If a provider just modifies one of the basic elements (orbit, attitude or mass) without adding any new data, it should return the empty string as its name.
- Specified by:
getNamein interfaceAdditionalDataProvider<double[]>- Returns:
- name of the additional data (names containing "orekit" with any case are reserved for the library internal use)
-
getTargetOrbit
Get orbit of the target..- Specified by:
getTargetOrbitin interfaceRelativeProvider- Returns:
- orbit of the target
-
setTargetOrbit
Set orbit of the target..- Specified by:
setTargetOrbitin interfaceRelativeProvider- Parameters:
targetOrbit- orbit of the target
-