标签:
IFields pFields = m_FeatureClass.Fields;
int index = pFields.FindField(m_strHeight);
if (index == -1) return;
IField pField = pFields.get_Field(index);
IGeoDataset pGeoDataset = m_FeatureClass as IGeoDataset;
IEnvelope pEnvelope = pGeoDataset.Extent;
pEnvelope.SpatialReference = pGeoDataset.SpatialReference;
ITinEdit pTinEdit = new TinClass();
pTinEdit.InitNew(pEnvelope);
object obj =Type.Missing;
pTinEdit.AddFromFeatureClass(m_FeatureClass, null, pField, null, esriTinSurfaceType.esriTinMassPoint, ref obj);
pTinEdit.SaveAs(@"C:/TIN", ref obj); // tin的保存
pTinEdit.StopEditing(false);
C# arcengine 由FeatureClass生成TIN
标签:
原文地址:http://www.cnblogs.com/zhaosaiblogs/p/4967236.html