包含在地心惯性系中查找太阳和月亮的笛卡尔坐标的函数。 Contains functions for finding the Cartesian coordinates of the sun and the moon in the Earth-centered inertial frame.
方法 Methods
static Cesium.Simon1994PlanetaryPositions.computeMoonPositionInEarthInertialFrame(julianDate, result) → Cartesian3
计算月球在以地心惯性系中的位置 Computes the position of the Moon in the Earth-centered inertial frame
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
julianDate |
JulianDate | 可选 optional 计算月球位置的时间,如果没有提供,则使用当前系统时间。 The time at which to compute the Moon's position, if not provided the current system time is used. |
result |
Cartesian3 | 可选 optional 用于存储结果的对象。 The object onto which to store the result. |
返回: Returns:
计算出的月球位置 Calculated moon position
static Cesium.Simon1994PlanetaryPositions.computeSunPositionInEarthInertialFrame(julianDate, result) → Cartesian3
计算太阳在地心惯性系中的位置 Computes the position of the Sun in the Earth-centered inertial frame
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
julianDate |
JulianDate | 可选 optional 计算太阳位置的时间,如果没有提供,则使用当前系统时间。 The time at which to compute the Sun's position, if not provided the current system time is used. |
result |
Cartesian3 | 可选 optional 用于存储结果的对象。 The object onto which to store the result. |
返回: Returns:
计算出的太阳位置 Calculated sun position
