Class PythonAbstractEncounterLOF

    • Constructor Detail

      • PythonAbstractEncounterLOF

        public PythonAbstractEncounterLOF​(PVCoordinates other)
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • getName

        public String getName()
        Get name of the local orbital frame.
        Returns:
        name of the local orbital frame
      • rotationFromInertial

        public <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 belong
        origin - position-velocity of the origin in the same inertial frame as other
        other - 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)
        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 other
        other - 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)
        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
      • getAxisNormalToCollisionPlane

        public 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