public final class ConstantVectorDirection extends Object implements IDirection
Constructor and Description |
---|
ConstantVectorDirection(Vector3D inVector,
Frame inFrame)
Build a direction from a frame and a vector constant in this frame
|
Modifier and Type | Method and Description |
---|---|
Frame |
getFrame() |
Line |
getLine(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the line containing the given origin point 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 Frame getFrame()
public Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws PatriusException
getVector
in interface IDirection
pvCoord
- UNUSEDdate
- 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 linedate
- the current dateframe
- the expression frame of the linePatriusException
- if some frame specific errors occurCopyright © 2023 CNES. All rights reserved.