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.
|
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 TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
PVCoordinatesProvider
PVCoordinates
of the body in the selected frame.getPVCoordinates
in interface PVCoordinatesProvider
date
- current dateframe
- the frame where to define the positionCopyright © 2002-2022 CS GROUP. All rights reserved.