Appearance
KBE3D / KBCore / Cesium / EllipsoidGeodesic
类: EllipsoidGeodesic
Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.
参数
The initial planetodetic point on the path.
参数
The final planetodetic point on the path.
参数
The ellipsoid on which the geodesic lies.
属性
ellipsoid
readonlyellipsoid:Ellipsoid
Gets the ellipsoid.
surfaceDistance
readonlysurfaceDistance:number
Gets the surface distance between the start and end point
start
readonlystart:Cartographic
Gets the initial planetodetic point on the path.
end
readonlyend:Cartographic
Gets the final planetodetic point on the path.
startHeading
readonlystartHeading:number
Gets the heading at the initial point.
endHeading
readonlyendHeading:number
Gets the heading at the final point.
方法
setEndPoints()
setEndPoints(
start:Cartographic,end:Cartographic):void
Sets the start and end points of the geodesic
参数
start
The initial planetodetic point on the path.
end
The final planetodetic point on the path.
返回
void
interpolateUsingFraction()
interpolateUsingFraction(
fraction:number,result?:Cartographic):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?
The object in which to store the result.
返回
The location of the point along the geodesic.
interpolateUsingSurfaceDistance()
interpolateUsingSurfaceDistance(
distance:number,result?:Cartographic):Cartographic
Provides the location of a point at the indicated distance along the geodesic.
参数
distance
number
The distance from the initial point to the point of interest along the geodesic
result?
The object in which to store the result.
返回
The location of the point along the geodesic.
构造函数
构造函数
new EllipsoidGeodesic(
start?:Cartographic,end?:Cartographic,ellipsoid?:Ellipsoid):EllipsoidGeodesic
参数
start?
end?
ellipsoid?
返回
EllipsoidGeodesic
