Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.
参数名称 | 类型 | 默认值 | 描述信息 |
---|---|---|---|
start |
Cartographic | 可选 The initial planetodetic point on the path. | |
end |
Cartographic | 可选 The final planetodetic point on the path. | |
ellipsoid |
Ellipsoid |
Ellipsoid.default
|
可选 The ellipsoid on which the geodesic lies. |
成员(属性)
readonly ellipsoid : Ellipsoid
Gets the ellipsoid.
readonly end : Cartographic
Gets the final planetodetic point on the path.
Gets the heading at the final point.
readonly start : Cartographic
Gets the initial planetodetic point on the path.
Gets the heading at the initial point.
Gets the surface distance between the start and end point
方法
interpolateUsingFraction(fraction, result) → Cartographic
Provides the location of a point at the indicated portion along the geodesic.
参数名称 | 类型 | 描述信息 |
---|---|---|
fraction |
number | The portion of the distance between the initial and final points. |
result |
Cartographic | 可选 The object in which to store the result. |
返回值:
The location of the point along the geodesic.
interpolateUsingSurfaceDistance(distance, result) → Cartographic
Provides the location of a point at the indicated distance along the geodesic.
参数名称 | 类型 | 描述信息 |
---|---|---|
distance |
number | The distance from the inital point to the point of interest along the geodesic |
result |
Cartographic | 可选 The object in which to store the result. |
返回值:
The location of the point along the geodesic.
Throws:
-
DeveloperError : start and end must be set before calling function interpolateUsingSurfaceDistance
Sets the start and end points of the geodesic
参数名称 | 类型 | 描述信息 |
---|---|---|
start |
Cartographic | The initial planetodetic point on the path. |
end |
Cartographic | The final planetodetic point on the path. |