public class MultiAttitudeProviderWrapper extends Object implements MultiAttitudeProvider
MultiAttitudeProvider
.Constructor and Description |
---|
MultiAttitudeProviderWrapper(AttitudeProvider attitudeProviderIn,
String satIdIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(Map<String,Orbit> orbits)
Computes the attitude corresponding to several orbital states.
|
Attitude |
getAttitude(Map<String,PVCoordinatesProvider> pvProvs,
AbsoluteDate date,
Frame frame)
Computes the attitude corresponding to several orbital states.
|
AttitudeProvider |
getAttitudeProvider()
Returns the AttitudeProvider.
|
String |
getID()
Returns the ID of the spacecraft associated with the AttitudeProvider.
|
public MultiAttitudeProviderWrapper(AttitudeProvider attitudeProviderIn, String satIdIn)
attitudeProviderIn
- attitude providersatIdIn
- satellite IDpublic Attitude getAttitude(Map<String,PVCoordinatesProvider> pvProvs, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude
in interface MultiAttitudeProvider
pvProvs
- PV providers around current datedate
- current dateframe
- reference frame in which attitude is computedPatriusException
- thrown if attitude cannot be computedpublic Attitude getAttitude(Map<String,Orbit> orbits) throws PatriusException
getAttitude
in interface MultiAttitudeProvider
orbits
- orbits of satellite. They should be at the same datePatriusException
- thrown if attitude cannot be computed or orbits are not at the same
datepublic AttitudeProvider getAttitudeProvider()
public String getID()
Copyright © 2019 CNES. All rights reserved.