Members
    viewer3D.viewer 程序入口中的viewer主视图对象
Methods
    cartesian3 转换 经纬坐标
    
| Name | Type | Description | 
|---|---|---|
cartesian3 | 
            
            Cartesian3 | 地心坐标点 {x:1,y:1,z:1} | 
Returns:
    Cartographic {longitude: 1, latitude: 1, height: 1}
    
    cartesian3 转换屏幕坐标
    
| Name | Type | Description | 
|---|---|---|
position | 
            
            Cartesian3 | 地心坐标点 {x:1,y:1,z:1} | 
Returns:
    Cartesian2 屏幕坐标 {x:1,y:1}
    
    cartesian3 转json字符串 {x:1,y:1,z:1}
    
| Name | Type | Description | 
|---|---|---|
cartesian3 | 
            
            Cartesian3 | 地心坐标点 {x:1,y:1,z:1} | 
Returns:
    String {x:1,y:2,z:3}
    
    地心坐标转地理坐标
    
| Name | Type | Description | 
|---|---|---|
cartesian3 | 
            
            Cartesian3 | 地心坐标点 {x:1,y:1,z:1} | 
Returns:
    Object {longitude: 1, latitude: 2, height: 3}
    
    经纬度高程转地心坐标
    
| Name | Type | Description | 
|---|---|---|
cartographic | 
            
            Cartographic | 经纬度坐标 {longitude:1,latitude:1,height:1} | 
Returns:
    Cartesian3 地心坐标点 {x:1,y:1,z:1}
    
    计算角度
    
| Name | Type | Description | 
|---|---|---|
positions | 
            
            Array | 坐标点数据 [Cartesian3,Cartesian3....] | 
Returns:
    Number 角度
    
    计算距离
    
| Name | Type | Description | 
|---|---|---|
positions | 
            
            Array | 坐标点 [Cartesian3,Cartesian3....] | 
Returns:
    Number 距离单位(m)
    
    计算两点的中点
    
| Name | Type | Description | 
|---|---|---|
pointStart | 
            
            Cartesian3 | 开始点 地心坐标点 {x:1,y:1,z:1} | 
pointEnd | 
            
            Cartesian3 | 结束点 地心坐标点 {x:1,y:1,z:1} | 
Returns:
    Cartesian3 地心坐标点 {x:1,y:1,z:1}
    
    返回当前镜头的高度
Returns:
    height
    
    获取多边形中心点
    
| Name | Type | Description | 
|---|---|---|
entity | 
            
            Entity | 
Returns:
    经纬度信息转换为 cartesian3
    
| Name | Type | Description | 
|---|---|---|
longitude | 
            
            String | 经度 | 
latitude | 
            
            String | 纬度 | 
height | 
            
            String | 高度 | 
Returns:
    Cartesian3 地心坐标点 {x:1,y:1,z:1}
    
    针对坐标点偏移高度
    
| Name | Type | Description | 
|---|---|---|
cartesian3 | 
            
            Cartesian3 | 坐标点 | 
height | 
            
            Number | 偏移高度 | 
Returns:
    cartesian3
    
    json字符串 转 cartesian3
    
| Name | Type | Description | 
|---|---|---|
posString | 
            
            String | 坐标字符串 {x:1,y:1,z:1} | 
Returns:
    Cartesian3 地心坐标点 {x:1,y:1,z:1}
    
