摘要:
首先你要明白Polyline是由path对象构成,Polygon是由ring对象构成,因此实现polyline向polygon的转换,思路如下:1.提取polyline中的所有path对象2.将path对象转换成ring对象,由于IRing继承自IPath,因此该转换是合理的3.利用IGeometryCollection.AddGeometry添加ring对象,构成polygon示例如下://cast the polyline object to the polygonISegmentCollection pRing;IGeometryCollection pPolygon = new Pol 阅读全文
posted @ 2013-07-18 16:29
之远
阅读(1317)
评论(0)
推荐(0)


浙公网安备 33010602011771号