首页 > 其他 > 详细

Envelope 转为Polygon

时间:2014-09-26 18:14:49      阅读:321      评论:0      收藏:0      [点我收藏+]
                        IEnvelopePtr ipEnv ;
                        hr = m_ipMapCtrl ->TrackRectangle(& ipEnv);
                         IPointPtr ipPointUL ;
                         IPointPtr ipPointUR ;
                         IPointPtr ipPointLL ;
                         IPointPtr ipPointLR ;
                         ipEnv->get_UpperLeft (&ipPointUL);
                         ipEnv->get_UpperRight (&ipPointUR);
                         ipEnv->get_LowerLeft (&ipPointLL);
                         ipEnv->get_LowerRight (&ipPointLR);
                         IPointCollectionPtr ipPointCollection (CLSID_Polygon);
                         ipPointCollection->AddPoint (ipPointUL);
                         ipPointCollection->AddPoint (ipPointLL);
                         ipPointCollection->AddPoint (ipPointLR);
                         ipPointCollection->AddPoint (ipPointUR);
                         ipGeo=ipPointCollection ;

Envelope 转为Polygon

原文:http://www.cnblogs.com/bibo/p/3994980.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!