1、用IGeometryCollection
//ISegmentCollection pRing;
//IGeometryCollection polygon = new PolygonClass();//object o = Type.Missing;
//for (int i = 0; i < ((IGeometryCollection)pGeo).GeometryCount; i++)
//{
// pRing = new RingClass();
// pRing.AddSegmentCollection(((IGeometryCollection)pGeo).get_Geometry(i) as ISegmentCollection);
// polygon.AddGeometry(pRing as IGeometry, ref o, ref o);
//}
//pNFeature.Shape = polygon as IGeometry;
2、用ITopologicalOperator 建缓冲区成面
IPolygon polygon = new PolygonClass();ITopologicalOperator pTopologicalOperator = (IPolyline)pGeo as ITopologicalOperator;
polygon = pTopologicalOperator.Buffer(0.5) as IPolygon;
pNFeature.Shape = polygon;