Package org.orekit.frames.encounter
Class PythonEncounterLOF
- java.lang.Object
-
- org.orekit.frames.encounter.PythonEncounterLOF
-
- All Implemented Interfaces:
EncounterLOF
,LOF
public class PythonEncounterLOF extends Object implements EncounterLOF
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object
-
Constructor Summary
Constructors Constructor Description PythonEncounterLOF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Vector3D
getAxisNormalToCollisionPlane()
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.String
getName()
Get name of the local orbital frame.PVCoordinates
getOther()
Get other's position and velocity coordinates.void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
<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.Rotation
rotationFromInertial(PVCoordinates origin, PVCoordinates other)
Get the rotation from inertial to this encounter local orbital frame.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.frames.encounter.EncounterLOF
computeProjectionMatrix, computeProjectionMatrix, isQuasiInertial, projectOntoCollisionPlane, projectOntoCollisionPlane, projectOntoCollisionPlane, projectOntoCollisionPlane, rotationFromInertial, rotationFromInertial, rotationFromInertial, rotationFromInertial
-
Methods inherited from interface org.orekit.frames.LOF
rotationFromLOF, rotationFromLOF, transformFromInertial, transformFromInertial, transformFromLOF, transformFromLOF
-
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
getName
public String getName()
Description copied from interface:LOF
Get name of the local orbital frame.
-
rotationFromInertial
public <T extends CalculusFieldElement<T>> FieldRotation<T> rotationFromInertial(Field<T> field, FieldPVCoordinates<T> origin, FieldPVCoordinates<T> other)
Description copied from interface:EncounterLOF
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.
- Specified by:
rotationFromInertial
in interfaceEncounterLOF
- 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
public Rotation rotationFromInertial(PVCoordinates origin, PVCoordinates other)
Description copied from interface:EncounterLOF
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.
- Specified by:
rotationFromInertial
in interfaceEncounterLOF
- 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
-
getAxisNormalToCollisionPlane
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getAxisNormalToCollisionPlane(Field<T> field)
Description copied from interface:EncounterLOF
Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.- Specified by:
getAxisNormalToCollisionPlane
in interfaceEncounterLOF
- 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
-
getFieldOther
public <T extends CalculusFieldElement<T>> FieldPVCoordinates<T> getFieldOther(Field<T> field)
Description copied from interface:EncounterLOF
Get other's position and velocity coordinates.- Specified by:
getFieldOther
in interfaceEncounterLOF
- Type Parameters:
T
- type of the element- Parameters:
field
- field of the element- Returns:
- other's position and velocity coordinates
-
getAxisNormalToCollisionPlane
public Vector3D getAxisNormalToCollisionPlane()
Description copied from interface:EncounterLOF
Get the axis normal to the collision plane (i, j or k) in this encounter local orbital frame.- Specified by:
getAxisNormalToCollisionPlane
in interfaceEncounterLOF
- Returns:
- axis normal to the collision plane (i, j or k) in this encounter local orbital frame
-
getOther
public PVCoordinates getOther()
Description copied from interface:EncounterLOF
Get other's position and velocity coordinates.- Specified by:
getOther
in interfaceEncounterLOF
- Returns:
- other's position and velocity coordinates
-
-