|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.bodies.BasicBoardSun
public class BasicBoardSun
This class provides the Sun direction at a specific date, according to a simple analytical model.
Constructor Summary | |
---|---|
BasicBoardSun()
Constructor with default values. |
|
BasicBoardSun(AbsoluteDate ref,
double alpha1,
double alpha2,
double nu1,
double nu2,
double lon1,
double epsilon)
Constructor with user values. |
Method Summary | |
---|---|
Line |
getLine(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Get the line from the position in pvCoord to the Sun. |
Vector3D |
getVector(PVCoordinatesProvider pvCoord,
AbsoluteDate date,
Frame frame)
Get the direction of the sun. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicBoardSun()
public BasicBoardSun(AbsoluteDate ref, double alpha1, double alpha2, double nu1, double nu2, double lon1, double epsilon)
ref
- Reference datealpha1
- Sun mean longitude constant α1 (rad)alpha2
- Sun mean longitude constant α2 (rad/s)nu1
- Sun mean anomaly default constant ν1 (rad)nu2
- Sun mean anomaly default constant ν2 (rad/s)lon1
- Sun longitude amplitudeepsilon
- Method Detail |
---|
public Vector3D getVector(PVCoordinatesProvider pvCoord, AbsoluteDate date, Frame frame) throws OrekitException
Get the direction of the sun. The parameter pvCoord is not used because all directions are colinear.
Provides the direction vector at a given date in a given frame.
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
Get the line from the position in pvCoord to the Sun.
Provides the line containing the origin (given PV coordinates) and directed by the direction vector.
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 occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |