ArcGlobe的右下角状态栏显示visibility,Engine中如何获取该数值?

ArcGlobe的右下角状态栏显示visibility,Engine中如何获取该数值?
已邀请:

朱新颖

赞同来自:

【解决办法】:
Engine中通过IGlobeViewUtil.ScalingDistance 即可返回该值,单位为米,可以除以1000,转为以千米为单位。 
另外,Desktop帮助文档中关于visibility值有如下解释: 

The distance value used for scale-dependent rendering and reported on the status bar is not the distance of the observer to the surface of the globe. It is better described as a viewport distance. The value is calculated as a combination of the window size and the observer distance, so different values would be returned for the same bookmark if the display window was resized. 

Desktop帮助文档原文链接: 
http://help.arcgis.com/en/arcg ... 00000

所以同一个3dd文档在ArcGlobe中与GlobeControl中获取的数值会有些差别,主要跟窗口大小有关。 

要回复问题请先登录注册