Package org.orekit.attitudes
Class NadirPointing
- java.lang.Object
-
- org.orekit.attitudes.GroundPointing
-
- org.orekit.attitudes.NadirPointing
-
- All Implemented Interfaces:
AttitudeProvider
public class NadirPointing extends GroundPointing
This class handles nadir pointing attitude provider.This class represents the attitude provider where the satellite z axis is pointing to the vertical of the ground point under satellite.
The object
NadirPointing
is guaranteed to be immutable.- Author:
- Véronique Pommier-Maurussane
- See Also:
GroundPointing
-
-
Constructor Summary
Constructors Constructor Description NadirPointing(Frame inertialFrame, BodyShape shape)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends CalculusFieldElement<T>>
FieldVector3D<T>getTargetPosition(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position in specified frame.protected Vector3D
getTargetPosition(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position in specified frame.<T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getTargetPV(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position/velocity in specified frame.TimeStampedPVCoordinates
getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position/velocity in specified frame.<T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getTargetPVViaInterpolation(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute target position-velocity-acceleration vector via interpolation (Field version).TimeStampedPVCoordinates
getTargetPVViaInterpolation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute target position-velocity-acceleration vector via interpolation.-
Methods inherited from class org.orekit.attitudes.GroundPointing
getAttitude, getAttitude, getAttitudeRotation, getAttitudeRotation, getBodyFrame
-
-
-
-
Method Detail
-
getTargetPV
public TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position/velocity in specified frame.- Specified by:
getTargetPV
in classGroundPointing
- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided- Returns:
- observed ground point position (element 0) and velocity (at index 1) in specified frame
-
getTargetPVViaInterpolation
public TimeStampedPVCoordinates getTargetPVViaInterpolation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute target position-velocity-acceleration vector via interpolation.- Parameters:
pvProv
- PV providerdate
- dateframe
- frame- Returns:
- target position-velocity-acceleration
-
getTargetPosition
protected Vector3D getTargetPosition(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position in specified frame.- Overrides:
getTargetPosition
in classGroundPointing
- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided- Returns:
- observed ground point position in specified frame
-
getTargetPV
public <T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getTargetPV(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position/velocity in specified frame.- Specified by:
getTargetPV
in classGroundPointing
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided- Returns:
- observed ground point position (element 0) and velocity (at index 1) in specified frame
-
getTargetPVViaInterpolation
public <T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getTargetPVViaInterpolation(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute target position-velocity-acceleration vector via interpolation (Field version).- Type Parameters:
T
- field type- Parameters:
pvProv
- PV providerdate
- dateframe
- frame- Returns:
- target position-velocity-acceleration
-
getTargetPosition
protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getTargetPosition(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position in specified frame.- Overrides:
getTargetPosition
in classGroundPointing
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided- Returns:
- observed ground point position in specified frame
-
-