public final class ToCelestialPointDirection extends Object implements ITargetDirection
CelestialPoint
is too.ITargetDirection.AberrationCorrection, ITargetDirection.SignalDirection
Constructor and Description |
---|
ToCelestialPointDirection(CelestialPoint celestialPoint)
Build a direction described by a celestial point: the celestial point is the target point.
|
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,
ITargetDirection.AberrationCorrection correction,
AbsoluteDate date,
VacuumSignalPropagationModel.FixedDate fixedDateType,
Frame frame,
double epsilon)
Provides the half line containing both origin and target, taking into account the type of date (emission or
reception), corrected for light-time and stellar aberration pending the entered correction parameter.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVector
public ToCelestialPointDirection(CelestialPoint celestialPoint)
celestialPoint
- the celestial pointpublic Vector3D getVector(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getVector
in interface IDirection
origin
- 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 ITargetDirection
date
- 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 IDirection
origin
- the origin of the directiondate
- the current dateframe
- the expression frame of the linePatriusException
- if some frame specific errors occurpublic Line getLine(PVCoordinatesProvider origin, ITargetDirection.SignalDirection signalDirection, ITargetDirection.AberrationCorrection correction, AbsoluteDate date, VacuumSignalPropagationModel.FixedDate fixedDateType, Frame frame, double epsilon) throws PatriusException
Nota: if entered correction is NONE
, invoking this method is not fully
equivalent to invoking the method IDirection.getLine(PVCoordinatesProvider, AbsoluteDate, Frame)
due to orientation of the half line (from the origin position at entered date in the target direction, or from
the target position at entered date in the origin direction).
getLine
in interface ITargetDirection
origin
- 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).signalDirection
- the signal directioncorrection
- the type of correction for light-time and stellar aberration (NONE
,
LT
, S
, or
LT_S
, see
aberration corrections). In case of S
or of
LT_S
correction, the stellar aberration is corrected at reception if
RECEPTION
date type or at transmission if EMISSION
date type.date
- the date for originfixedDateType
- the type of the previous given date : emission or receptionframe
- the frame to project the lineepsilon
- the absolute duration threshold used for convergence of signal propagation computation. The epsilon is a
time absolute error (ex: 1E-14s, in this case, the signal distance accuracy is 1E-14s x 3E8m/s = 3E-6m).PatriusException
- if some frame specific errors occurpublic PVCoordinatesProvider getTargetPvProvider()
PVCoordinatesProvider
associated to the target object.getTargetPvProvider
in interface ITargetDirection
Copyright © 2023 CNES. All rights reserved.