public final class GenericTargetDirection extends Object implements ITargetDirection
ITargetDirection.SignalDirection| Constructor and Description |
|---|
GenericTargetDirection(PVCoordinatesProvider inTarget)
Build a direction from a target described by its
PVCoordinatesProvider
|
| Modifier and Type | Method and Description |
|---|---|
Line |
getLine(PVCoordinatesProvider origin,
AbsoluteDate date,
Frame frame)
Provides the line containing the origin (given PV coordinates) and directed by the direction vector.
|
Line |
getLine(PVCoordinatesProvider origin,
ITargetDirection.SignalDirection signalDirection,
AbsoluteDate date,
SignalPropagationModel.FixedDate fixedDateType,
Frame frame,
double epsilon)
Provides the line connecting both objects and taking into account the delay of signal propagation.
|
PVCoordinates |
getTargetPVCoordinates(AbsoluteDate date,
Frame frame)
Provides the target point at a given date in a given frame, represented by the
associated PVCoordinates object
|
PVCoordinatesProvider |
getTargetPvProvider()
Provides the
PVCoordinatesProvider associated to the target object. |
Vector3D |
getVector(PVCoordinatesProvider origin,
AbsoluteDate date,
Frame frame)
Provides the direction vector at a given date in a given frame.
|
Vector3D |
getVector(PVCoordinatesProvider origin,
ITargetDirection.SignalDirection signalDirection,
AbsoluteDate date,
SignalPropagationModel.FixedDate fixedDateType,
Frame frame,
double epsilon)
Provides the direction vector taking into account the delay of signal propagation.
|
public GenericTargetDirection(PVCoordinatesProvider inTarget)
inTarget - the PVCoordinatesProvider describing the target pointpublic Vector3D getVector(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getVector in interface IDirectionorigin - the current coordinates of the origin point of the direction (may be null, in that specific case, the
origin of the direction is the frame origin).date - the dateframe - the frame to project the vector's coordinatesPatriusException - if some frame specific errors occurpublic PVCoordinates getTargetPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
getTargetPVCoordinates in interface ITargetDirectiondate - the dateframe - the framePatriusException - if position cannot be computed in given framepublic Line getLine(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getLine in interface IDirectionorigin - the origin of the directiondate - the current dateframe - the expression frame of the linePatriusException - if some frame specific errors occurpublic Vector3D getVector(PVCoordinatesProvider origin, ITargetDirection.SignalDirection signalDirection, AbsoluteDate date, SignalPropagationModel.FixedDate fixedDateType, Frame frame, double epsilon) throws PatriusException
ITargetDirection.SignalDirection provides the signal propagation direction. Regardless
to the propagation direction, the output vector is oriented from the origin object to the target object.
Moreover, the SignalPropagationModel.FixedDate indicates whether the reference date is the signal emission or the signal
reception. To perform the signal propagation, the target inertial frame (or the input frame, if it is not
defined) is frozen with respect to the ICRF frame.
Warning: The returned direction vector is not corrected for the stellar aberration, only a light-time correction is applied, see aberration corrections.
getVector in interface ITargetDirectionorigin - the object that set the origin of the output vector.signalDirection - indicates the signal propagation direction.date - the reference date.fixedDateType - indicates whether the reference date is a signal emission or reception.frame - the frame to compute the direction vector. To perform the signal propagation, the target inertial frame
(or the input frame, if it is not defined) is frozen with respect to the ICRF frame.epsilon - the time tolerance for convergence.PatriusException - if the input frame is not inertial.public Line getLine(PVCoordinatesProvider origin, ITargetDirection.SignalDirection signalDirection, AbsoluteDate date, SignalPropagationModel.FixedDate fixedDateType, Frame frame, double epsilon) throws PatriusException
ITargetDirection.SignalDirection provides the signal propagation
direction. Moreover, the SignalPropagationModel.FixedDate indicates whether the reference date is the signal emission or the
signal reception. To perform the signal propagation, the target inertial frame (or the input frame, if it is not
defined) is frozen with respect to the ICRF frame.
Warning: The returned direction line is not corrected for the stellar aberration, only a light-time correction is applied, see aberration corrections.
getLine in interface ITargetDirectionorigin - the object that set the origin of the output line.signalDirection - indicates the signal propagation direction.date - the reference date.fixedDateType - indicates whether the reference date is a signal emission or reception.frame - the frame to compute the direction vector.To perform the signal propagation, the target inertial frame (or
the input frame, if it is not defined) is frozen with respect to the ICRF frame.epsilon - the time tolerance for convergence.PatriusException - if the input frame is not inertial.public PVCoordinatesProvider getTargetPvProvider()
PVCoordinatesProvider associated to the target object.getTargetPvProvider in interface ITargetDirectionCopyright © 2022 CNES. All rights reserved.