public class DefaultEncounterLOF extends AbstractEncounterLOF
Note that it is up to the user to choose which object should be at the origin.
It is defined as follows :
Constructor and Description |
---|
DefaultEncounterLOF(FieldPVCoordinates<T> other)
Field constructor.
|
DefaultEncounterLOF(PVCoordinates other)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getAxisNormalToCollisionPlane()
Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getAxisNormalToCollisionPlane(org.hipparchus.Field<T> field)
Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.
|
String |
getName()
Get name of the local orbital frame.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
rotationFromInertial(org.hipparchus.Field<T> field,
FieldPVCoordinates<T> origin,
FieldPVCoordinates<T> other)
Get the rotation from inertial to this encounter local orbital frame.
|
org.hipparchus.geometry.euclidean.threed.Rotation |
rotationFromInertial(PVCoordinates origin,
PVCoordinates other)
Get the rotation from inertial to this encounter local orbital frame.
|
getFieldOther, getOther, rotationFromInertial, rotationFromInertial
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeProjectionMatrix, computeProjectionMatrix, isQuasiInertial, projectOntoCollisionPlane, projectOntoCollisionPlane, projectOntoCollisionPlane, projectOntoCollisionPlane, rotationFromInertial, rotationFromInertial
rotationFromLOF, rotationFromLOF, rotationFromLOFInToLOFOut, rotationFromLOFInToLOFOut, transformFromInertial, transformFromInertial, transformFromLOF, transformFromLOF, transformFromLOFInToLOFOut, transformFromLOFInToLOFOut
public DefaultEncounterLOF(PVCoordinates other)
other
- other object to create the encounter frame with (not the origin of the frame !)public DefaultEncounterLOF(FieldPVCoordinates<T> other)
T
- type of the field elementsother
- other object to create the encounter frame with (not the origin of the frame !)public org.hipparchus.geometry.euclidean.threed.Rotation rotationFromInertial(PVCoordinates origin, PVCoordinates other)
BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
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 originpublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> getAxisNormalToCollisionPlane(org.hipparchus.Field<T> field)
In this case, return (0,0,1);
T
- type of the field elementsfield
- field of the elementspublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldRotation<T> rotationFromInertial(org.hipparchus.Field<T> field, FieldPVCoordinates<T> origin, FieldPVCoordinates<T> other)
BEWARE: The given origin's position and velocity coordinates must be given in the frame in which this instance has been expressed in.
T
- type of the field elementsfield
- 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 originpublic org.hipparchus.geometry.euclidean.threed.Vector3D getAxisNormalToCollisionPlane()
In this case, return (0,0,1);
public String getName()
Copyright © 2002-2023 CS GROUP. All rights reserved.