LSAreaMeasure

new LSGlobe.LSAreaMeasure(viewer)

LSAreaMeasure是空间面积量测的类,能实现空间面积的量算。
Name Type Description
viewer LSGlobe.Viewer
Properties:
Name Type Attributes Description
enable Boolean <optional>
对象可不可用,默认false情况下,说明此对象不可用.

Members

area

获取面积

unit

获取和设置面积量算的单位

Methods

addPoint3D()

鼠标左击事件需要调用此方法,添加面积量算过程中不断点击添加的点。

addPointTemp()

鼠标移动事件需要调用此方法,添加面积量算过程中鼠标移动产生的临时点。

clear()

用来清除面积量测的对象。

finish()

鼠标右击事件需要调用此方法,用来结束空间面积量测。