ESRI.ArcGIS.Geodatabase.ITinEdit tinEdit = new ESRI.ArcGIS.Geodatabase.TinClass(); tinEdit.InitNew(axMapControl1.Extent); for (int i = 0; i < pointZ.PointCount; i++) { tinEdit.AddPointZ(pointZ.get_Point(i),i); } object o = Type.Missing; for (int i = 0; i < _handLine.SegmentCount; i++) { IPolyline polyline = new PolylineClass(); polyline.FromPoint = _handLine.get_Segment(i).FromPoint; polyline.ToPoint = _handLine.get_Segment(i).ToPoint; tinEdit.AddShape(polyline, ESRI.ArcGIS.Geodatabase.esriTinSurfaceType.esriTinHardLine, i, ref o); } o = true; tinEdit.SaveAs(@"e:\ss", ref o); tinEdit.StopEditing(true); MessageBox.Show(@"TIN已成功保存在e:\ss下");