Appearance
surveyAreaTool ?
SurveyAreaTool ?
Kind: global class
new SurveyAreaTool(viewer) ?
不規(guī)則凸形面積測量,正射投影面積 Tips: 該測量結果為三維空間的正射面積,需要按比例尺換算成實際長度單位。
| Param | Type | Description |
|---|---|---|
| viewer | Viewer | 場景類 |
SurveyAreaTool.enabled(Boolean) ?
測量開關
Kind: static method of SurveyAreaTool
| Param | Type | Description |
|---|---|---|
| Boolean | boolean | 布爾值, true 為開啟,false 為關閉 |
SurveyAreaTool.addPoint(point) ?
添加標識點
Kind: static method of SurveyAreaTool
| Param | Type | Description |
|---|---|---|
| point | Array | 數(shù)組,標識點的坐標。 |
SurveyAreaTool.result() ?
返回面積和對應正射中心點的坐標
Kind: static method of SurveyAreaTool