Class PythonCelestialBody

    • Constructor Detail

      • PythonCelestialBody

        public PythonCelestialBody()
    • 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
      • getInertiallyOrientedFrame

        public Frame getInertiallyOrientedFrame()
        Get an inertially oriented, body centered frame. Extension point for Python.

        The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.

        Specified by:
        getInertiallyOrientedFrame in interface CelestialBody
        Returns:
        an inertially oriented, body centered frame
        See Also:
        getBodyOrientedFrame()
      • getBodyOrientedFrame

        public Frame getBodyOrientedFrame()
        Get a body oriented, body centered frame. Extension point for Python.

        The frame is always bound to the body center, and its axes have a fixed orientation with respect to the celestial body.

        Specified by:
        getBodyOrientedFrame in interface CelestialBody
        Returns:
        a body oriented, body centered frame
        See Also:
        getInertiallyOrientedFrame()
      • getName

        public String getName()
        Get the name of the body. Extension point for Python.
        Specified by:
        getName in interface CelestialBody
        Returns:
        name of the body
      • getGM

        public double getGM()
        Get the attraction coefficient of the body. Extension point for Python.
        Specified by:
        getGM in interface CelestialBody
        Returns:
        attraction coefficient of the body (m³/s²)