All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.Simon1994PlanetaryPositions.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("cesium")

package cesium

/**
 * Contains functions for finding the Cartesian coordinates of the sun and the moon in the
 * Earth-centered inertial frame.
 * @see Online Documentation
 */
external object Simon1994PlanetaryPositions {
    /**
     * Computes the position of the Sun in the Earth-centered inertial frame
     * @param [julianDate] The time at which to compute the Sun's position, if not provided the current system time is used.
     * @param [result] The object onto which to store the result.
     * @return Calculated sun position
     * @see Online Documentation
     */
    fun computeSunPositionInEarthInertialFrame(
        julianDate: JulianDate? = definedExternally,
        result: Cartesian3? = definedExternally,
    ): Cartesian3

    /**
     * Computes the position of the Moon in the Earth-centered inertial frame
     * @param [julianDate] The time at which to compute the Sun's position, if not provided the current system time is used.
     * @param [result] The object onto which to store the result.
     * @return Calculated moon position
     * @see Online Documentation
     */
    fun computeMoonPositionInEarthInertialFrame(
        julianDate: JulianDate? = definedExternally,
        result: Cartesian3? = definedExternally,
    ): Cartesian3
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy