获取环状要素的外环点、内环点
问题描述:如题
解决方法:
IGeometryCollection polyline = feature.Shape as IGeometryCollection;//获取几何集
IPointCollection pc = polyline.Geometry[0] as IPointCollection;//第一个环(外环)点集
IPointCollection pc = polyline.Geometry[1] as IPointCollection;//第一个环(外环)点集
......
double polygonLength = (feature.Shape as IPolygon).Length;//环状要素周长。指的是外环周长+内环周长
转载自:https://blog.csdn.net/qq_33222460/article/details/86480753