首页 > 其他 > 详细

IGeometryPolygon转为ILineElement

时间:2014-08-07 21:46:30      阅读:739      评论:0      收藏:0      [点我收藏+]
画一个面并得到缓冲区后的ipGeometryPolygon可以通过获取边界的方式转换为ipLineElement,代码如下 :
        IGeometryPtr ipGeometryBoundry ;
        ITopologicalOperatorPtr ipTopologicalOperator( ipGeometryPolygon);
        ipTopologicalOperator->get_Boundary (& ipGeometryBoundry);
        ILineElementPtr ipLineElement ( CLSID_LineElement);
        IElementPtr ipElement ( ipLineElement);
        ipElement ->put_Geometry (ipGeometryBoundry);

IGeometryPolygon转为ILineElement,布布扣,bubuko.com

IGeometryPolygon转为ILineElement

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

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