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.
Light speed is currently never taken into account.
| Constructor and Description |
|---|
GlintApproximatePointingDirection(OneAxisEllipsoid shape,
PVCoordinatesProvider sunPV)
Constructor with default solver (
BisectionSolver(double, double)). |
GlintApproximatePointingDirection(OneAxisEllipsoid shape,
PVCoordinatesProvider sunPV,
UnivariateSolver univariateSolver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Vector3D |
getGlintPosition(Vector3D satPos,
Vector3D sunPos,
AbsoluteDate date)
Compute Glint position.
|
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(OneAxisEllipsoid shape, PVCoordinatesProvider sunPV, UnivariateSolver univariateSolver)
shape - the body shapesunPV - the Sun PV coordinatesunivariateSolver - the solver used to find Glint directionpublic GlintApproximatePointingDirection(OneAxisEllipsoid shape, PVCoordinatesProvider sunPV)
BisectionSolver(double, double)).shape - the body shapesunPV - the Sun PV coordinatespublic Vector3D getVector(PVCoordinatesProvider origin, AbsoluteDate date, Frame frame) throws PatriusException
getVector in interface IDirectionorigin - 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 IDirectionorigin - the origin of the directiondate - the current dateframe - the expression frame of the linePatriusException - if some frame specific errors occurprotected Vector3D getGlintPosition(Vector3D satPos, Vector3D sunPos, AbsoluteDate date) throws PatriusException
satPos - spacecraft position in body framesunPos - Sun position in body framedate - datePatriusException - thrown if computation failedpublic 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 © 2024 CNES. All rights reserved.