org.orekit.attitudes.directions
Interface IDirection

All Known Subinterfaces:
ITargetDirection
All Known Implementing Classes:
BasicBoardSun, CelestialBodyPolesAxisDirection, ConstantVectorDirection, CrossProductDirection, EarthCenterDirection, EarthToCelestialBodyCenterDirection, GenericTargetDirection, GlintApproximatePointingDirection, GroundVelocityDirection, MomentumDirection, NadirDirection, ToCelestialBodyCenterDirection, VelocityDirection

public interface IDirection

This is the main interface for directions.

Since:
1.1
Version:
$Id: IDirection.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Thomas Trapier

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.
 Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame)
          Provides the direction vector at a given date in a given frame.
 

Method Detail

getVector

Vector3D getVector(PVCoordinatesProvider pvCoord,
                   AbsoluteDate date,
                   Frame frame)
                   throws OrekitException
Provides the direction vector at a given date in a given frame.

Parameters:
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 date
frame - the frame to project the vector's coordinates
Returns:
the direction vector at the given date in the given frame
Throws:
OrekitException - if some frame specific errors occur

getLine

Line getLine(PVCoordinatesProvider pvCoord,
             AbsoluteDate date,
             Frame frame)
             throws OrekitException
Provides the line containing the origin (given PV coordinates) and directed by the direction vector.

Parameters:
pvCoord - the origin of the direction
date - the current date
frame - the expression frame of the line
Returns:
the Line of space containing the origin and direction vector
Throws:
OrekitException - if some frame specific errors occur


Copyright © 2017 CNES. All Rights Reserved.