Skip to content

cesium2s


cesium2s / Excavation

类: Excavation

Description

地形开挖

示例

ts
//实例化开挖工具
   excavationTool = new Excavation(viewer, {
     tilesets:[tileset]
   })

构造函数

构造函数

new Excavation(viewer, options): Excavation

参数

viewer

Viewer

options

ExcavationOptions

返回

Excavation

属性

textureMap

textureMap: string | URL


tilesets

tilesets: Cesium3DTileset[] = []


viewer

viewer: Viewer


wallAndBottomEntities

wallAndBottomEntities: Entity[] = []

方法

excavation()

excavation(polygon, digDepth): void

参数

polygon

Cartesian3[]

//开挖范围(多边形)

digDepth

number

//开挖深度(单位:米)

返回

void


recover()

recover(): void

返回

void

Description

开挖恢复


reverse()

reverse(): void

返回

void

Description

裁剪反转