Appearance
KBE3D / KBCore / Cesium / Transforms / computeIcrfToMoonFixedMatrix
函数: computeIcrfToMoonFixedMatrix()
computeIcrfToMoonFixedMatrix(
date:JulianDate,result?:Matrix3):Matrix3
Computes a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes to the Moon-Fixed frame axes at a given time.
参数
date
The time at which to compute the rotation matrix.
result?
The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回
The rotation matrix.
示例
ts
// Set the default ICRF to fixed transformation to that of the Moon.
Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;