Package org.orekit.utils
Class AggregatedPVCoordinatesProvider
java.lang.Object
org.orekit.utils.AggregatedPVCoordinatesProvider
- All Implemented Interfaces:
PVCoordinatesProvider
Aggregate multiple
PVCoordinatesProvider instances together.
This can be used to describe an aircraft or surface vehicle.
- Since:
- 11.3
- Author:
- Joe Reed
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class forAggregatedPVCoordinatesProvider.static classImplementation ofPVCoordinatesProviderthat throws anOrekitExceptionexception. -
Constructor Summary
ConstructorsConstructorDescriptionClass constructor.AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map, AbsoluteDate minDate, AbsoluteDate maxDate) Class constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the last date of the range.Get the first date of the range.getPosition(AbsoluteDate date, Frame frame) Get the position of the body in the selected frame.getPVCoordinates(AbsoluteDate date, Frame frame) Get thePVCoordinatesof the body in the selected frame.getVelocity(AbsoluteDate date, Frame frame) Get the velocity of the body in the selected frame.
-
Constructor Details
-
AggregatedPVCoordinatesProvider
Class constructor.Note the provided
mapis used directly. Modification of the map after calling this constructor may result in undefined behavior.- Parameters:
map- the map ofPVCoordinatesProviderinstances by time.
-
AggregatedPVCoordinatesProvider
public AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map, AbsoluteDate minDate, AbsoluteDate maxDate) Class constructor.Note the provided
mapis used directly. Modification of the map after calling this constructor may result in undefined behavior.- Parameters:
map- the map ofPVCoordinatesProviderinstances by time.minDate- the earliest valid date,nullif always validmaxDate- the latest valid date,nullif always valid
-
-
Method Details
-
getMinDate
Get the first date of the range.- Returns:
- the first date of the range
-
getMaxDate
Get the last date of the range.- Returns:
- the last date of the range
-
getPosition
Description copied from interface:PVCoordinatesProviderGet the position of the body in the selected frame.- Specified by:
getPositionin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position of the body (m and)
-
getVelocity
Description copied from interface:PVCoordinatesProviderGet the velocity of the body in the selected frame.- Specified by:
getVelocityin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the velocity- Returns:
- velocity of the body (m/s)
-
getPVCoordinates
Description copied from interface:PVCoordinatesProviderGet thePVCoordinatesof the body in the selected frame.- Specified by:
getPVCoordinatesin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
-