Interface EncounterLOF
- All Superinterfaces:
LOF
- All Known Implementing Classes:
AbstractEncounterLOF,DefaultEncounterLOF,ValsecchiEncounterFrame
Encounter local orbital frame are defined using two objects, one of them is placed at the origin and the other is expressed relatively to the origin.
- Since:
- 12.0
- Author:
- Vincent Cucchietti
-
Method Summary
Modifier and TypeMethodDescriptiondefault RealMatrixGet the 2x3 projection matrix that projects values expressed in this encounter local orbital frame to the collision plane.default <T extends CalculusFieldElement<T>>
FieldMatrix<T> computeProjectionMatrix(Field<T> field) Get the 2x3 projection matrix that projects values expressed in this encounter local orbital frame to the collision plane defined by this same encounter local orbital frame.Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.<T extends CalculusFieldElement<T>>
FieldVector3D<T> getAxisNormalToCollisionPlane(Field<T> field) Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.<T extends CalculusFieldElement<T>>
FieldPVCoordinates<T> getFieldOther(Field<T> field) Get other's position and velocity coordinates.getOther()Get other's position and velocity coordinates.default booleanGet flag that indicates if current local orbital frame shall be treated as pseudo-inertial.default <T extends CalculusFieldElement<T>>
FieldVector2D<T> projectOntoCollisionPlane(FieldVector3D<T> vector) Project givenvectorexpressed in this encounter local orbital frame onto the collision plane.default Vector2DprojectOntoCollisionPlane(Vector3D vector) Project givenvectorexpressed in this encounter local orbital frame onto the collision plane.default <T extends CalculusFieldElement<T>>
FieldMatrix<T> projectOntoCollisionPlane(FieldMatrix<T> matrix) Project givenmatrixexpressed in this encounter local orbital frame onto the collision plane defined by this same encounter local orbital frame.default RealMatrixprojectOntoCollisionPlane(RealMatrix matrix) Project givenmatrixexpressed in this encounter local orbital frame onto the collision plane.default <T extends CalculusFieldElement<T>>
FieldRotation<T> rotationFromInertial(Field<T> field, FieldAbsoluteDate<T> date, FieldPVCoordinates<T> pv) Get the rotation from inertial frame to local orbital frame.default <T extends CalculusFieldElement<T>>
FieldRotation<T> rotationFromInertial(Field<T> field, FieldPVCoordinates<T> origin) Get the rotation from inertial to this encounter local orbital frame.<T extends CalculusFieldElement<T>>
FieldRotation<T> rotationFromInertial(Field<T> field, FieldPVCoordinates<T> origin, FieldPVCoordinates<T> other) Get the rotation from inertial to this encounter local orbital frame.default RotationrotationFromInertial(AbsoluteDate date, PVCoordinates pv) Get the rotation from inertial frame to local orbital frame.default RotationrotationFromInertial(PVCoordinates origin) Get the rotation from inertial to this encounter local orbital frame.rotationFromInertial(PVCoordinates origin, PVCoordinates other) Get the rotation from inertial to this encounter local orbital frame.Methods inherited from interface org.orekit.frames.LOF
getName, rotationFromLOF, rotationFromLOF, rotationToInertial, rotationToInertial, transformFromInertial, transformFromInertial, transformFromLOF, transformFromLOF, transformToInertial, transformToInertial
-
Method Details
-
rotationFromInertial
default <T extends CalculusFieldElement<T>> FieldRotation<T> rotationFromInertial(Field<T> field, FieldAbsoluteDate<T> date, FieldPVCoordinates<T> pv) Get the rotation from inertial frame to local orbital frame.This rotation does not include any time derivatives. If first time derivatives (i.e. rotation rate) is needed as well, the full
It is unnecessary to use this method when dealing withLOF.transformFromInertial(FieldAbsoluteDate, FieldPVCoordinates)method must be called and the complete rotation transform must be extracted from it.EncounterLOF, userotationFromInertial(Field, FieldPVCoordinates)instead.- Specified by:
rotationFromInertialin interfaceLOF- Type Parameters:
T- type of the field elements- Parameters:
field- field to which the elements belongdate- date of the rotationpv- position-velocity of the spacecraft in some inertial frame- Returns:
- rotation from inertial frame to local orbital frame
-
rotationFromInertial
Get the rotation from inertial frame to local orbital frame.This rotation does not include any time derivatives. If first time derivatives (i.e. rotation rate) is needed as well, the full
It is unnecessary to use this method when dealing withtransformFromInertialmethod must be called and the complete rotation transform must be extracted from it.EncounterLOF, userotationFromInertial(PVCoordinates)instead.- Specified by:
rotationFromInertialin interfaceLOF- Parameters:
date- date of the rotationpv- position-velocity of the spacecraft in some inertial frame- Returns:
- rotation from inertial frame to local orbital frame
-
rotationFromInertial
default <T extends CalculusFieldElement<T>> FieldRotation<T> rotationFromInertial(Field<T> field, FieldPVCoordinates<T> origin) Get the rotation from inertial to this encounter local orbital frame.BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
- Type Parameters:
T- type of the field elements- Parameters:
field- field to which the elements belongorigin- position-velocity of the origin in the same inertial frame as the one this instance has been expressed in.- Returns:
- rotation from inertial to this encounter local orbital frame
-
rotationFromInertial
Get the rotation from inertial to this encounter local orbital frame.BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
- Parameters:
origin- position-velocity of the origin in some inertial frame- Returns:
- rotation from inertial to this encounter local orbital frame
-
rotationFromInertial
<T extends CalculusFieldElement<T>> FieldRotation<T> rotationFromInertial(Field<T> field, FieldPVCoordinates<T> origin, FieldPVCoordinates<T> other) Get the rotation from inertial to this encounter local orbital frame.BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
- Type Parameters:
T- type of the field elements- Parameters:
field- field to which the elements belongorigin- position-velocity of the origin in the same inertial frame as otherother- position-velocity of the other in the same inertial frame as origin- Returns:
- rotation from inertial to this encounter local orbital frame
-
rotationFromInertial
Get the rotation from inertial to this encounter local orbital frame.BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
- Parameters:
origin- position-velocity of the origin in the same inertial frame as otherother- position-velocity of the other instance in the same inertial frame as origin- Returns:
- rotation from inertial to this encounter local orbital frame
-
projectOntoCollisionPlane
Project givenmatrixexpressed in this encounter local orbital frame onto the collision plane.- Parameters:
matrix- matrix to project, a 3 by 3 matrix is expected- Returns:
- projected matrix onto the collision plane defined by this encounter local orbital frame
-
computeProjectionMatrix
Get the 2x3 projection matrix that projects values expressed in this encounter local orbital frame to the collision plane.- Returns:
- 2x3 projection matrix
-
projectOntoCollisionPlane
default <T extends CalculusFieldElement<T>> FieldMatrix<T> projectOntoCollisionPlane(FieldMatrix<T> matrix) Project givenmatrixexpressed in this encounter local orbital frame onto the collision plane defined by this same encounter local orbital frame.- Type Parameters:
T- type of the field elements- Parameters:
matrix- matrix to project, a 3 by 3 matrix is expected- Returns:
- projected matrix onto the collision plane defined by this encounter local orbital frame
-
computeProjectionMatrix
Get the 2x3 projection matrix that projects values expressed in this encounter local orbital frame to the collision plane defined by this same encounter local orbital frame.- Type Parameters:
T- type of the field elements- Parameters:
field- field to which the elements belong- Returns:
- 2x3 projection matrix
-
getAxisNormalToCollisionPlane
Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.- Type Parameters:
T- type of the field elements- Parameters:
field- field of the elements- Returns:
- axis normal to the collision plane (i, j or k) in this encounter local orbital frame
-
projectOntoCollisionPlane
Project givenvectorexpressed in this encounter local orbital frame onto the collision plane.- Parameters:
vector- vector to project- Returns:
- projected vector onto the collision plane defined by this encounter local orbital frame
-
projectOntoCollisionPlane
default <T extends CalculusFieldElement<T>> FieldVector2D<T> projectOntoCollisionPlane(FieldVector3D<T> vector) Project givenvectorexpressed in this encounter local orbital frame onto the collision plane.- Type Parameters:
T- type of the field elements- Parameters:
vector- vector to project- Returns:
- projected vector onto the collision plane defined by this encounter local orbital frame
-
getFieldOther
Get other's position and velocity coordinates.- Type Parameters:
T- type of the element- Parameters:
field- field of the element- Returns:
- other's position and velocity coordinates
-
getAxisNormalToCollisionPlane
Vector3D getAxisNormalToCollisionPlane()Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.- Returns:
- axis normal to the collision plane (i, j or k) in this encounter local orbital frame
-
getOther
PVCoordinates getOther()Get other's position and velocity coordinates.- Returns:
- other's position and velocity coordinates
-
isQuasiInertial
default boolean isQuasiInertial()Get flag that indicates if current local orbital frame shall be treated as pseudo-inertial.- Specified by:
isQuasiInertialin interfaceLOF- Returns:
- flag that indicates if current local orbital frame shall be treated as pseudo-inertial
-