ISliceModel

剖切分析实例

关系

Extends

ISliceModel Extends IPluginModel

继承: IPluginModel

属性

analysis

剖切分析实例

analysis: any

类型: any

excludedLayers

排除图层列表

excludedLayers: ILayer

类型: ILayer

flag

剖切活跃状态

flag: boolean

类型: boolean

handleType

当前操作类型

handleType: string

类型: string

props

插件初始化参数

props: IPluginModelProps

sliceType

当前剖切类型

sliceType: string

类型: string

viewModel

剖切视图模型实例

viewModel: any

类型: any

方法

exclude

启动排除图层功能

exclude(): void

返回:void

excludedLayersClick

处理排除图层点击事件

excludedLayersClick(index): void

参数

  • index: number 被点击图层的索引

返回:void

excludedSublayer

排除建筑图层的子图层

excludedSublayer(sublayer): void

参数

  • sublayer: ILayer 要排除的子图层对象

返回:void

getShape

获取当前剖切面信息

getShape(): void

返回:void

init

初始化剖切功能

init(): void

返回:void

removeExcludedLayer

移除所有排除的图层

removeExcludedLayer(): void

返回:void

reset

重置剖切状态

reset(): void

返回:void

reverse

反向剖切操作

reverse(): void

返回:void

setShape

设置剖切面参数

setShape(data): void

参数

  • data: IShapeData 剖切面的形状和位置数据

返回:void

start

开始剖切分析

start(type): void

参数

  • type: string 剖切类型 - vertical: 垂直剖切 - snap: 快照剖切

返回:void

BIMFlux AI