public class NadirPointing extends AbstractGroundPointing
This class represents the attitude provider where (by default) the satellite z axis is pointing to the vertical of the ground point under satellite.
The object NadirPointing
is guaranteed to be immutable.
This class is restricted to be used with EllipsoidBodyShape
.
Constructor and Description |
---|
NadirPointing(EllipsoidBodyShape shape)
Creates new instance.
|
NadirPointing(EllipsoidBodyShape shape,
Vector3D losInSatFrameVec,
Vector3D losNormalInSatFrameVec)
Constructor.
|
NadirPointing(EllipsoidBodyShape shape,
Vector3D losInSatFrameVec,
Vector3D losNormalInSatFrameVec,
double deltaT)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Vector3D |
getTargetPosition(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target ground point position in specified frame.
|
TimeStampedPVCoordinates |
getTargetPV(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point position/velocity in specified frame.
|
String |
toString() |
getAttitude, getBodyFrame, getBodyShape, getLosInSatFrame, getLosNormalInSatFrame
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public NadirPointing(EllipsoidBodyShape shape)
shape
- Body shapepublic NadirPointing(EllipsoidBodyShape shape, Vector3D losInSatFrameVec, Vector3D losNormalInSatFrameVec)
shape
- Body shapelosInSatFrameVec
- LOS in satellite frame axislosNormalInSatFrameVec
- LOS normal axis in satellite framepublic NadirPointing(EllipsoidBodyShape shape, Vector3D losInSatFrameVec, Vector3D losNormalInSatFrameVec, double deltaT)
shape
- Body shapelosInSatFrameVec
- LOS in satellite frame axislosNormalInSatFrameVec
- LOS normal axis in satellite framedeltaT
- the delta-T used to compute target PVCoordinates by finite differencespublic TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
The default implementation use a simple centered two points finite differences scheme, it may be replaced by more accurate models in specialized implementations.
In the case where the point is computed at a date corresponding to the lower/upper bound of the ephemeris, the finite differences scheme used is either 1st order forward or backward.The calculated intersection velocity corresponds to the "virtual" intersection point velocity between the satellite los and the Earth, not the velocity of the physical point.
getTargetPV
in class AbstractGroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedPatriusException
- if some specific error occurs,
such as no target reachedprotected Vector3D getTargetPosition(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getTargetPosition
in class AbstractGroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedPatriusException
- if some specific error occurs,
such as no target reachedCopyright © 2023 CNES. All rights reserved.