public final class MomentumDirection extends Object implements IDirection
PVCoordinatesProvider. In this case the momentum direction is simply the cross product between
the position and the velocity of the PVCoordinatesProvider at the required date.| Constructor and Description |
|---|
MomentumDirection(Frame bodyCenteredFrame)
Build a direction from the celestial body around witch the orbit is defined.
|
MomentumDirection(Frame bodyCenteredFrame,
PVCoordinatesProvider pvProvider)
Build a direction from a
PVCoordinatesProvider. |
MomentumDirection(PVCoordinatesProvider pvProvider)
Build a direction from a
PVCoordinatesProvider. |
| Modifier and Type | Method and Description |
|---|---|
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 MomentumDirection(Frame bodyCenteredFrame)
bodyCenteredFrame - momentum central framepublic MomentumDirection(PVCoordinatesProvider pvProvider)
PVCoordinatesProvider.PVCoordinatesProvider at a specific date (momentum vector).
WARN : This constructor is not recommended because the reference frame is not managed in the computation process with respect to the other available constructors of the class.
pvProvider - the PVCoordinatesProvider from which the momentum direction should be computedpublic MomentumDirection(Frame bodyCenteredFrame, PVCoordinatesProvider pvProvider)
PVCoordinatesProvider.PVCoordinatesProvider at a specific date (momentum vector).bodyCenteredFrame - momentum central framepvProvider - the PVCoordinatesProvider from which the momentum direction should be computedpublic 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 occurCopyright © 2024 CNES. All rights reserved.