new Cesium.EllipsoidGeodesic(start, end, ellipsoid)

初始化连接这两个行星点的椭圆形上的大地测量仪.
Name Type Default Description
start Cartographic optional 路径上的初始行星点.
end Cartographic optional 最后的行星点 在路径.
ellipsoid Ellipsoid Ellipsoid.default optional The ellipsoid on which the geodesic lies.

Members

readonly ellipsoid : Ellipsoid

获得椭圆形.

readonly end : Cartographic

在路径上获得最后的行星点.

readonly endHeading : number

得到最后点的方向.

readonly start : Cartographic

获得路径上的初始行星点.

readonly startHeading : number

在初始点获得方向 .

readonly surfaceDistance : number

获得起始点和终点之间的表面距离

Methods

interpolateUsingFraction(fraction, result)Cartographic

提供沿大地测量的指定部分某一点的位置.
Name Type Description
fraction number 初始点和最终点之间的距离部分.
result Cartographic optional 存储结果的对象 .
Returns:
该点沿大地测量仪的位置.

interpolateUsingSurfaceDistance(distance, result)Cartographic

提供大地测量仪上标明距离的点的位置.
Name Type Description
distance number 从初始点到大地测量线上感兴趣的点的距离
result Cartographic optional 存储结果的对象 .
Returns:
该点沿大地测量仪的位置.
Throws:
  • DeveloperError : start and end must be set before calling function interpolateUsingSurfaceDistance

setEndPoints(start, end)

设置大地测量的起点和终点
Name Type Description
start Cartographic 路径上的初始行星点.
end Cartographic 最后的行星点 在路径.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.