UNPKG

bcgis-type

Version:

The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.

29 lines (28 loc) 902 B
import Position from "../position/Position"; import Viewer from "../viewer/Viewer"; export default class SlopeAspect { _viewer: Viewer; _db: Cesium.CustomDataSource; constructor(); get viewer(): Viewer; GetSubRectangles(positions: Position[], precision?: number): any[]; pointInPolygon(point: any, polygon: any): any; getPolygonSlopeFromTerrain(positions: Position[]): string; computePolygonHeightRange(e: any): { maxHeight: number; minHeight: number; maxPoint: any; minPoint: any; }; computeRectangleBounds(rectangle: Cesium.Rectangle): Position[]; splitPositions(positions: any, splitCount: any): any; destroy(): void; get db(): Cesium.CustomDataSource; clear(): void; /** * * @param viewer */ install(viewer: Viewer): void; uninstall(viewer: any): void; }