Contains functions for finding the Cartesian coordinates of the sun and the moon in the
Earth-centered inertial frame.
方法
static Cesium.Simon1994PlanetaryPositions.computeMoonPositionInEarthInertialFrame(julianDate, result) → Cartesian3
Computes the position of the Moon in the Earth-centered inertial frame
参数名称 | 类型 | 描述信息 |
---|---|---|
julianDate |
JulianDate | 可选 The time at which to compute the Moon's position, if not provided the current system time is used. |
result |
Cartesian3 | 可选 The object onto which to store the result. |
返回值:
Calculated moon position
static Cesium.Simon1994PlanetaryPositions.computeSunPositionInEarthInertialFrame(julianDate, result) → Cartesian3
Computes the position of the Sun in the Earth-centered inertial frame
参数名称 | 类型 | 描述信息 |
---|---|---|
julianDate |
JulianDate | 可选 The time at which to compute the Sun's position, if not provided the current system time is used. |
result |
Cartesian3 | 可选 The object onto which to store the result. |
返回值:
Calculated sun position