Skip to content

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

readonly ellipsoid: Ellipsoid

Gets the ellipsoid.


surfaceDistance

readonly surfaceDistance: number

Gets the surface distance between the start and end point


start

readonly start: Cartographic

Gets the initial planetodetic point on the path.


end

readonly end: Cartographic

Gets the final planetodetic point on the path.


startHeading

readonly startHeading: number

Gets the heading at the initial point.


endHeading

readonly endHeading: 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

Cartographic

The initial planetodetic point on the path.

end

Cartographic

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?

Cartographic

The object in which to store the result.

返回

Cartographic

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?

Cartographic

The object in which to store the result.

返回

Cartographic

The location of the point along the geodesic.

构造函数

构造函数

new EllipsoidGeodesic(start?: Cartographic, end?: Cartographic, ellipsoid?: Ellipsoid): EllipsoidGeodesic

参数

start?

Cartographic

end?

Cartographic

ellipsoid?

Ellipsoid

返回

EllipsoidGeodesic

KBE3D @3.0.0 Copyright © 2024-present KBE3D