public class AggregatedPVCoordinatesProvider extends Object implements PVCoordinatesProvider
PVCoordinatesProvider instances together
This can be used to describe an aircraft or surface vehicle.| Modifier and Type | Class and Description |
|---|---|
static class |
AggregatedPVCoordinatesProvider.Builder
Builder class for
AggregatedPVCoordinatesProvider. |
static class |
AggregatedPVCoordinatesProvider.InvalidPVProvider
Implementation of
PVCoordinatesProvider that throws an illegal state exception. |
| Constructor and Description |
|---|
AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map)
Class constructor.
|
AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map,
AbsoluteDate minDate,
AbsoluteDate maxDate)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbsoluteDate |
getMaxDate()
Get the last date of the range.
|
AbsoluteDate |
getMinDate()
Get the first date of the range.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getPosition(AbsoluteDate date,
Frame frame)
Get the position of the body in the selected frame.
|
TimeStampedPVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
public AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map)
map is used directly. Modification of the
map after calling this constructor may result in undefined behavior.map - the map of PVCoordinatesProvider instances by time.public AggregatedPVCoordinatesProvider(TimeSpanMap<PVCoordinatesProvider> map, AbsoluteDate minDate, AbsoluteDate maxDate)
map is used directly. Modification of the
map after calling this constructor may result in undefined behavior.map - the map of PVCoordinatesProvider instances by time.minDate - the earliest valid date, null if always validmaxDate - the latest valid date, null if always validpublic AbsoluteDate getMinDate()
public AbsoluteDate getMaxDate()
public org.hipparchus.geometry.euclidean.threed.Vector3D getPosition(AbsoluteDate date, Frame frame)
PVCoordinatesProvidergetPosition in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the positionpublic TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
PVCoordinatesProviderPVCoordinates of the body in the selected frame.getPVCoordinates in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the positionCopyright © 2002-2023 CS GROUP. All rights reserved.