public static List<IPoint> GetPointsFromFeature(IGeometry geometry)
{
//IPolygon pPolygon = new PolylineClass();
List<IPoint> li = new List<IPoint>();
if (geometry != null)
{
IPointCollection pPointCollection = geometry as IPointCollection;
for (int i = 0; i < pPointCollection.PointCount; i++)
{
li.Add(pPointCollection.get_Point(i));
}
}
return li;
}
获得一个要素的节点
最新推荐文章于 2024-09-02 19:43:41 发布