Class PythonEncounterLOF

    • Field Detail

      • pythonObject

        protected long pythonObject
        Part of JCC Python interface to object
    • Constructor Detail

      • PythonEncounterLOF

        public PythonEncounterLOF()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
      • pythonExtension

        public long pythonExtension()
      • pythonDecRef

        public void pythonDecRef()
      • getName

        public String getName()
        Description copied from interface: LOF
        Get name of the local orbital frame.
        Specified by:
        getName in interface LOF
        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)
        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 interface EncounterLOF
        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)
        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 interface EncounterLOF
        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)
        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 interface EncounterLOF
        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 interface EncounterLOF
        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 interface EncounterLOF
        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 interface EncounterLOF
        Returns:
        other's position and velocity coordinates