关于Geometry中的一些简单形状
一些简单形状可以直接 as 转为IGeomery
但是IGeometry转为简单图形比较麻烦
比如:
IGeometryCollection pointCollection = (IGeometryCollection)resultGeom;
List<IPoint> resultPoints = new List<IPoint>();
for (int i = 0; i < pointCollection.GeometryCount; i++)
{
resultPoints.Add((IPoint)pointCollection.get_Geometry(i));
}

浙公网安备 33010602011771号