English中文

Transforms

包含将位置转换为各种参考系的函数。 Contains functions for transforming positions to various reference frames.

方法 Methods

static Cesium.Transforms.computeFixedToIcrfMatrix(date, result)Matrix3|undefined

计算旋转矩阵,以在给定时间将点或矢量从地球固定坐标系轴 (ITRF) 转换为国际天体参考系 (GCRF/ICRF) 惯性坐标系轴。如果尚未加载执行转换所需的数据,则此函数可能会返回未定义。 Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF) to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes at a given time. This function may return undefined if the data necessary to do the transformation is not yet loaded.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。如果未指定此参数,则创建并返回一个新实例。 The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回: Returns:
旋转矩阵,如果尚未加载进行转换所需的数据,则为未定义。 The rotation matrix, or undefined if the data necessary to do the transformation is not yet loaded.
示例: Example:
// Transform a point from the Fixed axes to the ICRF axes.
const now = Cesium.JulianDate.now();
const pointInFixed = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const fixedToIcrf = Cesium.Transforms.computeFixedToIcrfMatrix(now);
let pointInInertial = new Cesium.Cartesian3();
if (Cesium.defined(fixedToIcrf)) {
    pointInInertial = Cesium.Matrix3.multiplyByVector(fixedToIcrf, pointInFixed, pointInInertial);
}
另见: See:

static Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix(date, result)Matrix3|undefined

用于计算旋转矩阵的默认函数,以在给定时间将点或向量从国际天体参考系 (GCRF/ICRF) 惯性参考系轴变换到中心体(通常是地球)固定参考系轴,用于照明和从惯性参考系的转换。如果尚未加载执行转换所需的数据,则此函数可能会返回未定义。 The default function to compute a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes to the central body, typically Earth, fixed frame axis at a given time for use in lighting and transformation from inertial reference frames. This function may return undefined if the data necessary to do the transformation is not yet loaded.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。如果未指定此参数,则创建并返回一个新实例。 The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回: Returns:
旋转矩阵,如果尚未加载进行转换所需的数据,则为未定义。 The rotation matrix, or undefined if the data necessary to do the transformation is not yet loaded.
示例: Example:
// Set the default ICRF to fixed transformation to that of the Moon.
Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
另见: See:

static Cesium.Transforms.computeIcrfToFixedMatrix(date, result)Matrix3|undefined

计算旋转矩阵,以在给定时间将点或矢量从国际天体参考系 (GCRF/ICRF) 惯性系轴变换到地球固定系轴 (ITRF)。如果尚未加载执行转换所需的数据,则此函数可能会返回未定义。 Computes a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes to the Earth-Fixed frame axes (ITRF) at a given time. This function may return undefined if the data necessary to do the transformation is not yet loaded.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。如果未指定此参数,则创建并返回一个新实例。 The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回: Returns:
旋转矩阵,如果尚未加载进行转换所需的数据,则为未定义。 The rotation matrix, or undefined if the data necessary to do the transformation is not yet loaded.
示例: Example:
scene.postUpdate.addEventListener(function(scene, time) {
  // View in ICRF.
  const icrfToFixed = Cesium.Transforms.computeIcrfToFixedMatrix(time);
  if (Cesium.defined(icrfToFixed)) {
    const offset = Cesium.Cartesian3.clone(camera.position);
    const transform = Cesium.Matrix4.fromRotationTranslation(icrfToFixed);
    camera.lookAtTransform(transform, offset);
  }
});
另见: See:

static Cesium.Transforms.computeIcrfToMoonFixedMatrix(date, result)Matrix3

计算旋转矩阵,以在给定时间将点或矢量从国际天体参考系 (GCRF/ICRF) 惯性系轴变换到月球固定系轴。 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.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。如果未指定此参数,则创建并返回一个新实例。 The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回: Returns:
旋转矩阵。 The rotation matrix.
示例: Example:
// Set the default ICRF to fixed transformation to that of the Moon.
Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;

static Cesium.Transforms.computeMoonFixedToIcrfMatrix(date, result)Matrix3

计算旋转矩阵,以在给定时间将点或矢量从月球固定坐标系轴变换到国际天体参考系 (GCRF/ICRF) 惯性坐标系轴。 Computes a rotation matrix to transform a point or vector from the Moon-Fixed frame axes to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes at a given time.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。如果未指定此参数,则创建并返回一个新实例。 The object onto which to store the result. If this parameter is not specified, a new instance is created and returned.
返回: Returns:
旋转矩阵。 The rotation matrix.
示例: Example:
// Transform a point from the Fixed axes to the ICRF axes.
const now = Cesium.JulianDate.now();
const pointInFixed = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const fixedToIcrf = Cesium.Transforms.computeMoonFixedToIcrfMatrix(now);
let pointInInertial = new Cesium.Cartesian3();
if (Cesium.defined(fixedToIcrf)) {
    pointInInertial = Cesium.Matrix3.multiplyByVector(fixedToIcrf, pointInFixed, pointInInertial);
}

static Cesium.Transforms.computeTemeToPseudoFixedMatrix(date, result)Matrix3

计算旋转矩阵,以将给定时间的点或向量从真赤道平均分点 (TEME) 轴转换为伪固定轴。此方法将 UT1 时间标准视为等同于 UTC。 Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to the pseudo-fixed axes at a given time. This method treats the UT1 time standard as equivalent to UTC.
名称 Name 类型 Type 说明 Description
date JulianDate 计算旋转矩阵的时间。 The time at which to compute the rotation matrix.
result Matrix3 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix3 实例(如果未提供)。 The modified result parameter or a new Matrix3 instance if none was provided.
示例: Example:
//Set the view to the inertial frame.
scene.postUpdate.addEventListener(function(scene, time) {
   const now = Cesium.JulianDate.now();
   const offset = Cesium.Matrix4.multiplyByPoint(camera.transform, camera.position, new Cesium.Cartesian3());
   const transform = Cesium.Matrix4.fromRotationTranslation(Cesium.Transforms.computeTemeToPseudoFixedMatrix(now));
   const inverseTransform = Cesium.Matrix4.inverseTransformation(transform, new Cesium.Matrix4());
   Cesium.Matrix4.multiplyByPoint(inverseTransform, offset, offset);
   camera.lookAtTransform(transform, offset);
});

static Cesium.Transforms.eastNorthUpToFixedFrame(origin, ellipsoid, result)Matrix4

计算从具有以提供的原点为中心的东西向轴的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。局部轴定义为: Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided origin to the provided ellipsoid's fixed reference frame. The local axes are defined as:
  • The x 轴指向当地的东方向。 axis points in the local east direction.
  • The y 轴指向当地的北方向。 axis points in the local north direction.
  • The z 轴指向穿过该位置的椭球面法线方向。 axis points in the direction of the ellipsoid surface normal which passes through the position.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
示例: Example:
// Get the transform from local east-north-up at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const transform = Cesium.Transforms.eastNorthUpToFixedFrame(center);

static Cesium.Transforms.fixedFrameToHeadingPitchRoll(transform, ellipsoid, fixedFrameTransform, result)HeadingPitchRoll

根据特定参考系中的变换计算航向-俯仰-横滚角。航向是从当地东方向开始的旋转,其中正角度向东增加。俯仰角是从当地东西向平面开始的旋转。正俯仰角位于平面上方。负俯仰角位于平面下方。滚动是绕当地东轴应用的第一个旋转。 Computes heading-pitch-roll angles from a transform in a particular reference frame. Heading is the rotation from the local east direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.
名称 Name 类型 Type 默认值 Default 说明 Description
transform Matrix4 转变 The transform
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
fixedFrameTransform Transforms.LocalFrameToFixedFrame Transforms.eastNorthUpToFixedFrame 可选 optional 从参考系到提供的椭球体固定参考系的 4x4 变换矩阵 A 4x4 transformation matrix from a reference frame to the provided ellipsoid's fixed reference frame
result HeadingPitchRoll 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 HeadingPitchRoll 实例(如果未提供)。 The modified result parameter or a new HeadingPitchRoll instance if none was provided.

static Cesium.Transforms.headingPitchRollQuaternion(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result)Quaternion

根据参考系计算四元数,其中轴是根据以提供的原点为中心的航向-俯仰-横滚角计算的。航向是从当地东方向开始的旋转,其中正角度向东增加。俯仰角是从当地东西向平面开始的旋转。正俯仰角位于平面上方。负俯仰角位于平面下方。滚动是绕当地东轴应用的第一个旋转。 Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the provided origin. Heading is the rotation from the local east direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
headingPitchRoll HeadingPitchRoll 航向、俯仰和横滚。 The heading, pitch, and roll.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
fixedFrameTransform Transforms.LocalFrameToFixedFrame Transforms.eastNorthUpToFixedFrame 可选 optional 从参考系到提供的椭球体固定参考系的 4x4 变换矩阵 A 4x4 transformation matrix from a reference frame to the provided ellipsoid's fixed reference frame
result Quaternion 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的四元数实例(如果未提供)。 The modified result parameter or a new Quaternion instance if none was provided.
示例: Example:
// Get the quaternion from local heading-pitch-roll at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const heading = -Cesium.Math.PI_OVER_TWO;
const pitch = Cesium.Math.PI_OVER_FOUR;
const roll = 0.0;
const hpr = new HeadingPitchRoll(heading, pitch, roll);
const quaternion = Cesium.Transforms.headingPitchRollQuaternion(center, hpr);

static Cesium.Transforms.headingPitchRollToFixedFrame(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result)Matrix4

从参考系计算 4x4 变换矩阵,其中轴是根据以提供的原点为中心的航向-俯仰-横滚角到所提供的椭球体的固定参考系计算得出的。航向是从当地东方向开始的旋转,其中正角度向东增加。俯仰角是从当地东西向平面开始的旋转。正俯仰角位于平面上方。负俯仰角位于平面下方。滚动是绕当地东轴应用的第一个旋转。 Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles centered at the provided origin to the provided ellipsoid's fixed reference frame. Heading is the rotation from the local east direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
headingPitchRoll HeadingPitchRoll 航向、俯仰和横滚。 The heading, pitch, and roll.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
fixedFrameTransform Transforms.LocalFrameToFixedFrame Transforms.eastNorthUpToFixedFrame 可选 optional 从参考系到提供的椭球体固定参考系的 4x4 变换矩阵 A 4x4 transformation matrix from a reference frame to the provided ellipsoid's fixed reference frame
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
示例: Example:
// Get the transform from local heading-pitch-roll at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const heading = -Cesium.Math.PI_OVER_TWO;
const pitch = Cesium.Math.PI_OVER_FOUR;
const roll = 0.0;
const hpr = new Cesium.HeadingPitchRoll(heading, pitch, roll);
const transform = Cesium.Transforms.headingPitchRollToFixedFrame(center, hpr);

static Cesium.Transforms.localFrameToFixedFrameGenerator(firstAxis, secondAxis)Transforms.LocalFrameToFixedFrame

生成一个函数,用于计算从以提供的原点为中心的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。 Generates a function that computes a 4x4 transformation matrix from a reference frame centered at the provided origin to the provided ellipsoid's fixed reference frame.
名称 Name 类型 Type 说明 Description
firstAxis string 局部参考系的第一个轴的名称。必须是“东”、“北”、“上”、“西”、“南”或“下”。 name of the first axis of the local reference frame. Must be 'east', 'north', 'up', 'west', 'south' or 'down'.
secondAxis string 局部参考系第二个轴的名称。必须是“东”、“北”、“上”、“西”、“南”或“下”。 name of the second axis of the local reference frame. Must be 'east', 'north', 'up', 'west', 'south' or 'down'.
返回: Returns:
该函数将从参考系计算 4x4 变换矩阵,其中第一轴和第二轴符合参数, The function that will computes a 4x4 transformation matrix from a reference frame, with first axis and second axis compliant with the parameters,

static Cesium.Transforms.northEastDownToFixedFrame(origin, ellipsoid, result)Matrix4

计算从具有以提供的原点为中心的东北向下轴的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。局部轴定义为: Computes a 4x4 transformation matrix from a reference frame with an north-east-down axes centered at the provided origin to the provided ellipsoid's fixed reference frame. The local axes are defined as:
  • The x 轴指向当地的北方向。 axis points in the local north direction.
  • The y 轴指向当地的东方向。 axis points in the local east direction.
  • The z 轴指向穿过该位置的椭球面法线的相反方向。 axis points in the opposite direction of the ellipsoid surface normal which passes through the position.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
示例: Example:
// Get the transform from local north-east-down at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const transform = Cesium.Transforms.northEastDownToFixedFrame(center);

static Cesium.Transforms.northUpEastToFixedFrame(origin, ellipsoid, result)Matrix4

计算从具有以提供的原点为中心的北上东轴的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。局部轴定义为: Computes a 4x4 transformation matrix from a reference frame with an north-up-east axes centered at the provided origin to the provided ellipsoid's fixed reference frame. The local axes are defined as:
  • The x 轴指向当地的北方向。 axis points in the local north direction.
  • The y 轴指向穿过该位置的椭球面法线方向。 axis points in the direction of the ellipsoid surface normal which passes through the position.
  • The z 轴指向当地的东方向。 axis points in the local east direction.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
示例: Example:
// Get the transform from local north-up-east at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const transform = Cesium.Transforms.northUpEastToFixedFrame(center);

static Cesium.Transforms.northWestUpToFixedFrame(origin, ellipsoid, result)Matrix4

计算从具有以提供的原点为中心的西北向上轴的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。局部轴定义为: Computes a 4x4 transformation matrix from a reference frame with an north-west-up axes centered at the provided origin to the provided ellipsoid's fixed reference frame. The local axes are defined as:
  • The x 轴指向当地的北方向。 axis points in the local north direction.
  • The y 轴指向当地的西方向。 axis points in the local west direction.
  • The z 轴指向穿过该位置的椭球面法线方向。 axis points in the direction of the ellipsoid surface normal which passes through the position.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
示例: Example:
// Get the transform from local north-West-Up at cartographic (0.0, 0.0) to Earth's fixed frame.
const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const transform = Cesium.Transforms.northWestUpToFixedFrame(center);

static Cesium.Transforms.pointToWindowCoordinates(modelViewProjectionMatrix, viewportTransformation, point, result)Cartesian2

将点从模型坐标变换到窗口坐标。 Transform a point from model coordinates to window coordinates.
名称 Name 类型 Type 说明 Description
modelViewProjectionMatrix Matrix4 4x4 模型-视图-投影矩阵。 The 4x4 model-view-projection matrix.
viewportTransformation Matrix4 4x4 视口变换。 The 4x4 viewport transformation.
point Cartesian3 转变的点。 The point to transform.
result Cartesian2 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Cartesian2 实例(如果未提供)。 The modified result parameter or a new Cartesian2 instance if none was provided.

static Cesium.Transforms.preloadIcrfFixed(timeInterval)Promise.<void>

预加载在给定间隔内在 ICRF 和固定轴之间沿任一方向进行转换所需的数据。此函数返回一个承诺,当解决时,表明预加载已完成。 Preloads the data necessary to transform between the ICRF and Fixed axes, in either direction, over a given interval. This function returns a promise that, when resolved, indicates that the preload has completed.
名称 Name 类型 Type 说明 Description
timeInterval TimeInterval 预加载的时间间隔。 The interval to preload.
返回: Returns:
解决后,表明预载已完成,并且固定轴和 ICRF 轴之间的转换评估将不再在间隔内的时间内返回未定义的承诺。 A promise that, when resolved, indicates that the preload has completed and evaluation of the transformation between the fixed and ICRF axes will no longer return undefined for a time inside the interval.
示例: Example:
const interval = new Cesium.TimeInterval(...);
await Cesium.Transforms.preloadIcrfFixed(interval));
// the data is now loaded
另见: See:

static Cesium.Transforms.rotationMatrixFromPositionVelocity(position, velocity, ellipsoid, result)Matrix3

将位置和速度转换为旋转矩阵。 Transform a position and velocity to a rotation matrix.
名称 Name 类型 Type 默认值 Default 说明 Description
position Cartesian3 位置要变换。 The position to transform.
velocity Cartesian3 要变换的速度矢量。 The velocity vector to transform.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix3 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix3 实例(如果未提供)。 The modified result parameter or a new Matrix3 instance if none was provided.

类型定义 Type Definitions

Cesium.Transforms.LocalFrameToFixedFrame(origin, ellipsoid, result)Matrix4

计算从以提供的原点为中心的参考系到所提供的椭球体的固定参考系的 4x4 变换矩阵。 Computes a 4x4 transformation matrix from a reference frame centered at the provided origin to the provided ellipsoid's fixed reference frame.
名称 Name 类型 Type 默认值 Default 说明 Description
origin Cartesian3 局部参考系的中心点。 The center point of the local reference frame.
ellipsoid Ellipsoid Ellipsoid.default 可选 optional 变换中使用固定框架的椭球体。 The ellipsoid whose fixed frame is used in the transformation.
result Matrix4 可选 optional 用于存储结果的对象。 The object onto which to store the result.
返回: Returns:
修改后的结果参数或新的 Matrix4 实例(如果未提供)。 The modified result parameter or a new Matrix4 instance if none was provided.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.