mapgis线转面

               //GeoPolygon surface = (GeoPolygon)((IGeometry3D)sfcls.GetGeometry(recordSet.CurrentID)).GetBoundary();
                // GeoPolygon surface = (GeoPolygon)((IGeometry3D)recordSet.Geometry).GetBoundary();

                GeoPolygon surface = new GeoPolygon();
                GeoLines pmGeoLines = new GeoLines();       
                pmGeoLines.Append((GeoVarLine)((IGeometry3D)recordSet.Geometry).GetBoundary());
                surface.Append(pmGeoLines);

 

posted @ 2022-06-28 16:03  恋上微笑的天使  阅读(160)  评论(0编辑  收藏  举报