public class GroundVelocityDirection extends Object implements IDirection
Constructor and Description |
---|
GroundVelocityDirection(BodyShape bodyShape,
IDirection trackingDirection)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Line |
getLine(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the line containing the origin (given PV coordinates) and directed by the direction vector.
|
Vector3D |
getVector(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the direction vector at a given date in a given frame.
|
public GroundVelocityDirection(BodyShape bodyShape, IDirection trackingDirection)
bodyShape
- : shape of the body for which one we want to compute the ground velocity direction of a satellite.trackingDirection
- : line of sight of the satellite (pointing direction)public Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws PatriusException
getVector
in interface IDirection
pvCoord
- 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 Line getLine(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws PatriusException
getLine
in interface IDirection
pvCoord
- the origin of the directiondate
- the current dateframe
- the expression frame of the linePatriusException
- if some frame specific errors occurCopyright © 2021 CNES. All rights reserved.