关于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));
                }

  


原文地址:https://www.cnblogs.com/marvelousone/p/9906322.html