TrackRect

框选结果

new YS.TrackRect(earth, point1, point2, feature)

框选工具使用后获取的数据
Name Type Description
earth YSEarth YouScene.earth
point1 XYZ 框左上点坐标 Object={x:114,y:32,z:1000}
point2 XYZ 框右下点坐标 Object={x:115,y:33,z:1000}
feature Object 选中对象
Implements:

Members

readonlyjson : json

框选工具返回的json对象
Properties:
Name Type Description
earth YSEarth
tool ViewTool 当前使用的工具
point1 XYZ 框左上点坐标
Properties
Name Type Description
x Number 框左上点经度,地理坐标,单位度
y Number 框左上点纬度,地理坐标,单位度
z Number 框左上点高程,单位米
point2 XYZ 框右下点坐标
Properties
Name Type Description
x Number 框右下点经度,地理坐标,单位度
y Number 框右下点纬度,地理坐标,单位度
z Number 框左上点高程,单位米
Implements: