public final class CelestialBodyPolesAxisDirection extends Object implements IDirection
Constructor and Description |
---|
CelestialBodyPolesAxisDirection(CelestialBody inBody)
Build a direction defined by the frame associated to a celestial body.
|
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 CelestialBodyPolesAxisDirection(CelestialBody inBody)
inBody
- the celestial body associated to the orbitpublic Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws PatriusException
getVector
in interface IDirection
pvCoord
- UNUSED : null is accepteddate
- 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
- UNUSED : null is accepteddate
- the current dateframe
- the expression frame of the linePatriusException
- if some frame specific errors occurCopyright © 2023 CNES. All rights reserved.