@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
55 lines (51 loc) • 1.35 kB
JavaScript
/**
* A structure containing the orientation data computed at a particular time. The data
* represents the direction of the pole of rotation and the rotation about that pole.
* <p>
* These parameters correspond to the parameters in the Report from the IAU/IAG Working Group
* except that they are expressed in radians.
* </p>
*
* @namespace IauOrientationParameters
*
* @private
*/
function IauOrientationParameters(
rightAscension,
declination,
rotation,
rotationRate,
) {
/**
* The right ascension of the north pole of the body with respect to
* the International Celestial Reference Frame, in radians.
* @type {number}
*
* @private
*/
this.rightAscension = rightAscension;
/**
* The declination of the north pole of the body with respect to
* the International Celestial Reference Frame, in radians.
* @type {number}
*
* @private
*/
this.declination = declination;
/**
* The rotation about the north pole used to align a set of axes with
* the meridian defined by the IAU report, in radians.
* @type {number}
*
* @private
*/
this.rotation = rotation;
/**
* The instantaneous rotation rate about the north pole, in radians per second.
* @type {number}
*
* @private
*/
this.rotationRate = rotationRate;
}
export default IauOrientationParameters;