public final class GlintApproximatePointingDirection extends Object implements IDirection
"Glint" direction pointing. It provides methods to compute Glint point G coordinates and to create a vector/line between a point and G.
Glint point is the point of Sun reflexion on a body shape (the Earth for instance) as seen from a spacecraft.
Constructor and Description |
---|
GlintApproximatePointingDirection(EllipsoidBodyShape shape,
PVCoordinatesProvider sunPV)
Constructor with default solver (
BisectionSolver.BisectionSolver(double, double) ). |
GlintApproximatePointingDirection(EllipsoidBodyShape shape,
PVCoordinatesProvider sunPV,
UnivariateSolver univariateSolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
getGlintVectorPosition(PVCoordinatesProvider origin,
AbsoluteDate date,
Frame frame)
Get the position vector of the glint point
|
Line |
getLine(PVCoordinatesProvider origin,
AbsoluteDate date,
Frame frame)
Provides the line containing the origin (given PV coordinates) and directed by the direction vector.
|
Vector3D |
getVector(PVCoordinatesProvider origin,
AbsoluteDate date,
Frame frame)
Provides the direction vector at a given date in a given frame.
|
public GlintApproximatePointingDirection(EllipsoidBodyShape shape, PVCoordinatesProvider sunPV, UnivariateSolver univariateSolver)
shape
- the body shapesunPV
- the Sun PV coordinatesunivariateSolver
- the solver used to find Glint directionpublic GlintApproximatePointingDirection(EllipsoidBodyShape shape, PVCoordinatesProvider sunPV)
BisectionSolver.BisectionSolver(double, double)
).shape
- the body shapesunPV
- the Sun PV coordinatespublic Vector3D getVector(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getVector
in interface IDirection
origin
- 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 coordinatesPatriusException
- if some frame specific errors occurpublic Line getLine(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getLine
in interface IDirection
origin
- the origin of the directiondate
- the current dateframe
- the expression frame of the linePatriusException
- if some frame specific errors occurpublic Vector3D getGlintVectorPosition(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
origin
- the origin of the directiondate
- the current dateframe
- the current framePatriusException
- thrown if computation failedCopyright © 2021 CNES. All rights reserved.