IMeasureModel

插件初始化参数

关系

Extends

IMeasureModel Extends IPluginModel

继承: IPluginModel

属性

props

插件初始化参数

props: IPluginModelProps

type

测量类型

type: "distance" | "triangle" | "area" | "angle"

类型: "distance" | "triangle" | "area" | "angle"

方法

clear

清除测量结果

clear(type?): void

参数

  • type?: IMeasureType 要清除的测量类型,不传则清除所有测量结果

返回:void

start

开始指定类型的测量

start(type): void

参数

  • type: IMeasureType 测量类型(距离、三角测量、面积、角度)

返回:void

BIMFlux AI