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

  

posted @ 2018-11-04 22:36  marvelousone  阅读(437)  评论(0编辑  收藏  举报