AngleMeasureModel
用于在3D场景中进行角度测量,通过三个点计算角度值
关系
Implements
AngleMeasureModel Implements IMeasurePartModel
实现接口: IMeasurePartModel
用于在3D场景中进行角度测量,通过三个点计算角度值
构造函数
AngleMeasureModel
构造函数
new AngleMeasureModel(props)
参数
- props:
IMeasurePartModelProps模型属性
返回:AngleMeasureModel AngleMeasureModel对象
属性
angle
角度值
angle: string
类型: string
graphicsLayer
图形图层
graphicsLayer: any
类型: any
labelPoint
标签点
labelPoint: Graphic
类型: Graphic
props
模型属性
props: IMeasurePartModelProps
selected
是否选中状态
selected: boolean
类型: boolean
unit
测量单位
unit: string
类型: string
viewModel
Sketch视图模型
viewModel: any
类型: any
方法
addLabel
添加标签
angleConvert
根据三角形各边长度计算角度
angleConvert(a, b, c): string
参数
- a:
number三角形边长 - b:
number三角形边长 - c:
number三角形边长
返回:string
clear
清除测量结果
clear(): void
返回:void
drawAngleInfo
绘制角度信息
drawAngleInfo(point1, point2, point3, wkid): void
返回:void
start
开始角度测量
start(): void
返回:void

BIMFlux AI
