|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.directions.CrossProductDirection
public class CrossProductDirection
This direction is the cross product of two directions
Constructor Summary | |
---|---|
CrossProductDirection(IDirection direction1,
IDirection direction2)
Build a cross product of two directions. |
Method Summary | |
---|---|
Line |
getLine(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the line containing the origin (given PV coordinates) and directed by the cross product of directions. |
Vector3D |
getVector(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Provides the cross product of direction1 vector and dirction2 vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrossProductDirection(IDirection direction1, IDirection direction2)
direction1
- first directiondirection2
- second directionMethod Detail |
---|
public Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws OrekitException
getVector
in interface IDirection
pvCoord
- PV coordinatesdate
- a dateframe
- the frame to project the vector's coordinates
OrekitException
- if one of directions vectors could not be retrievedpublic Line getLine(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws OrekitException
getLine
in interface IDirection
pvCoord
- PV coordinates. If null, PVCoordinates.ZERO
is considereddate
- a dateframe
- the expression frame of the line
OrekitException
- if some frame specific errors occur or if directions vectors could not be retrieved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |