如何获得axGlobeControl上一点的地理坐标?

e.x和e.y只能获得窗体坐标,是要进行转换吗?
版本:arcengine10.2,vs2010,c#.
翻了下diagram,应该是用ISceneViewer接口。
   ISceneViewer sceneViewer = globeDisplay.ActiveViewer;    
   double lat=0, lon=0, alt=0;
   globeViewUil.WindowToGeocentric(globeDisplay, sceneViewer, e.x, e.y, false, out lon, out lat, out alt);
 
已邀请:

朱新颖

赞同来自:

globeViewUil.WindowToGeographic()可以将屏幕坐标转为地理坐标,WindowToGeocentric是将屏幕坐标转为地心坐标 

要回复问题请先登录注册