|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.directions.EarthToCelestialBodyCenterDirection
public class EarthToCelestialBodyCenterDirection
Direction from Earth center to celestial body center : the central body's center is the target point.
Constructor Summary | |
---|---|
EarthToCelestialBodyCenterDirection(CelestialBody body)
Constructor for celestial body center direction from Earth center : the celestial body's center is the target point. |
Method Summary | |
---|---|
Line |
getLine(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the line containing the origin (given PV coordinates) and directed by the direction vector. |
PVCoordinates |
getTargetPVCoordinates(AbsoluteDate date,
Frame frame)
Provides the target point at a given date in a given frame, represented by the associated PVCoordinates object |
Vector3D |
getVector(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the direction vector at a given date in a given frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EarthToCelestialBodyCenterDirection(CelestialBody body)
body
- the celestial bodyMethod Detail |
---|
public Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws OrekitException
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 coordinates
OrekitException
- if some frame specific errors occurpublic Line getLine(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws OrekitException
getLine
in interface IDirection
pvCoord
- the origin of the directiondate
- the current dateframe
- the expression frame of the line
OrekitException
- if some frame specific errors occurpublic PVCoordinates getTargetPVCoordinates(AbsoluteDate date, Frame frame) throws OrekitException
getTargetPVCoordinates
in interface ITargetDirection
date
- the dateframe
- the frame
OrekitException
- if position cannot be computed in given frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |