public class FrameAlignedProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
| Constructor and Description |
|---|
FrameAlignedProvider(Frame frame)
Creates new instance aligned with the given frame.
|
FrameAlignedProvider(org.hipparchus.geometry.euclidean.threed.Rotation rotation)
Creates new instance.
|
FrameAlignedProvider(org.hipparchus.geometry.euclidean.threed.Rotation rotation,
Frame reference)
Creates new instance with a fixed attitude in the given frame.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getAttitude(FieldPVCoordinatesProvider<T> pvProv,
FieldAbsoluteDate<T> date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getAttitudeRotation(FieldPVCoordinatesProvider<T> pvProv,
FieldAbsoluteDate<T> date,
Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.
|
org.hipparchus.geometry.euclidean.threed.Rotation |
getAttitudeRotation(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.
|
static AttitudeProvider |
of(Frame satelliteFrame)
Creates an attitude provider aligned with the given frame.
|
@DefaultDataContext public FrameAlignedProvider(org.hipparchus.geometry.euclidean.threed.Rotation rotation)
This constructor uses the default data context.
rotation - rotation from EME2000 to the desired satellite frameFrameAlignedProvider(Rotation, Frame)public FrameAlignedProvider(Frame frame)
frame - the reference frame for the attitude.public FrameAlignedProvider(org.hipparchus.geometry.euclidean.threed.Rotation rotation,
Frame reference)
rotation - rotation from reference to the desired satellite framereference - frame for rotation.public static AttitudeProvider of(Frame satelliteFrame)
This attitude provider returned by this method is designed to be as fast as
possible for when attitude is irrelevant while still being a valid implementation
of AttitudeProvider. To ensure good performance the specified attitude
reference frame should be the same frame used for propagation so that computing the
frame transformation is trivial.
satelliteFrame - with which the satellite is aligned.public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedpublic <T extends org.hipparchus.CalculusFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
getAttitude in interface AttitudeProviderT - type of the field elementspvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedpublic org.hipparchus.geometry.euclidean.threed.Rotation getAttitudeRotation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
getAttitudeRotation in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedpublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldRotation<T> getAttitudeRotation(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
getAttitudeRotation in interface AttitudeProviderT - type of the field elementspvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedCopyright © 2002-2023 CS GROUP. All rights reserved.