zhumiao222
zhumiao222
采纳率0%
2016-07-29 08:11 阅读 1.4k

c#/arcengine 屏幕坐标转换WG84坐标

g.DrawLine(Pens.Blue, pt1, pt2);

IPoint pt11 = new ESRI.ArcGIS.Geometry.PointClass();
        pt11.X = pt1.X;
        pt11.Y = pt1.Y;         
        IPoint pt21 = new ESRI.ArcGIS.Geometry.PointClass();
        pt21.X = pt2.X;
        pt21.Y = pt2.Y;          
        pts.AddPoint(pt11,   missing,   missing);
        pts.AddPoint(pt21, missing, missing);   
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

相关推荐