Package org.orekit.attitudes
Class GroundPointTarget
- java.lang.Object
-
- org.orekit.attitudes.GroundPointTarget
-
- All Implemented Interfaces:
TargetProvider
public class GroundPointTarget extends Object implements TargetProvider
Ground point target forAlignedAndConstrained
.- Since:
- 12.2
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description GroundPointTarget(Vector3D location)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
FieldVector3D<FieldUnivariateDerivative2<T>>getDerivative2TargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedFieldPVCoordinates<T> pv, Frame frame)
Get a target vector.FieldVector3D<UnivariateDerivative2>
getDerivative2TargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedPVCoordinates pv, Frame frame)
Get a target vector.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getTargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedFieldPVCoordinates<T> pv, Frame frame)
Get a target vector.Vector3D
getTargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedPVCoordinates pv, Frame frame)
Get a target vector.
-
-
-
Constructor Detail
-
GroundPointTarget
public GroundPointTarget(Vector3D location)
Simple constructor.- Parameters:
location
- location of the target in Earth frame
-
-
Method Detail
-
getDerivative2TargetDirection
public FieldVector3D<UnivariateDerivative2> getDerivative2TargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedPVCoordinates pv, Frame frame)
Get a target vector.- Specified by:
getDerivative2TargetDirection
in interfaceTargetProvider
- Parameters:
sun
- Sun modelearth
- Earth modelpv
- spacecraft position and velocityframe
- inertial frame- Returns:
- target direction in the spacecraft state frame, with second order time derivative
-
getTargetDirection
public Vector3D getTargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedPVCoordinates pv, Frame frame)
Get a target vector.- Specified by:
getTargetDirection
in interfaceTargetProvider
- Parameters:
sun
- Sun modelearth
- Earth modelpv
- spacecraft position and velocityframe
- inertial frame- Returns:
- target direction in the spacecraft state frame
-
getDerivative2TargetDirection
public <T extends CalculusFieldElement<T>> FieldVector3D<FieldUnivariateDerivative2<T>> getDerivative2TargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedFieldPVCoordinates<T> pv, Frame frame)
Get a target vector.- Specified by:
getDerivative2TargetDirection
in interfaceTargetProvider
- Type Parameters:
T
- type of the field element- Parameters:
sun
- Sun modelearth
- Earth modelpv
- spacecraft position and velocityframe
- inertial frame- Returns:
- target direction in the spacecraft state frame, with second order time derivative
-
getTargetDirection
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getTargetDirection(ExtendedPositionProvider sun, OneAxisEllipsoid earth, TimeStampedFieldPVCoordinates<T> pv, Frame frame)
Get a target vector.- Specified by:
getTargetDirection
in interfaceTargetProvider
- Type Parameters:
T
- type of the field element- Parameters:
sun
- Sun modelearth
- Earth modelpv
- spacecraft position and velocityframe
- inertial frame- Returns:
- target direction in the spacecraft state frame
-
-