TrackPolyline

折线结果

new YS.TrackPolyline(earth, pointArray, world, feature)

折线工具使用后获取的数据
Name Type Description
earth YSEarth YouScene.earth
pointArray Array.<XYZ> 构成折线的点数组
world Array.<Cartesian3> 构成折线的点数组,世界坐标
feature Object 选中对象
Implements:

Members

readonlyjson : json

折线工具返回的json对象
Properties:
Name Type Description
earth YSEarth
tool ViewTool 当前使用的工具
pointArray Array.<XYZ> 构成折线的点数组
pointArray[i].x Number 某一点的经度,地理坐标,单位度
pointArray[i].y Number 某一点的纬度,地理坐标,单位度
pointArray[i].z Number 某一点的高度,地理坐标,单位度
worldArray Array.<XYZ> 构成折线的点数组,世界坐标系
worldArray[i].x Number 某一点的世界坐标x值,单位米
worldArray[i].y Number 某一点的世界坐标y值,单位米
worldArray[i].z Number 某一点的世界坐标z值,单位米
feature Object 结束时选中的模型
Implements: