Skip to content
On this page

surveyAreaTool

SurveyAreaTool

Kind: global class

new SurveyAreaTool(viewer)

不规则凸形面积测量,正射投影面积 Tips: 该测量结果为三维空间的正射面积,需要按比例尺换算成实际长度单位。

ParamTypeDescription
viewerViewer场景类

SurveyAreaTool.enabled(Boolean)

测量开关

Kind: static method of SurveyAreaTool

ParamTypeDescription
Booleanboolean布尔值, true 为开启,false 为关闭

SurveyAreaTool.addPoint(point)

添加标识点

Kind: static method of SurveyAreaTool

ParamTypeDescription
pointArray数组,标识点的坐标。

SurveyAreaTool.result()

返回面积和对应正射中心点的坐标

Kind: static method of SurveyAreaTool