- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
case esriGeometryType.esriGeometryPolyline: nearestPoint = proximity.ReturnNearestPoint(pPt, esriSegmentExtension.esriNoExtension); for (i = 0; i geometryCollection.GeometryCount; i++) { IGeometryCollection polyline = new PolylineClass(); polyline.AddGeometry(geometryCollection.get_Geometry(i), ref missing, ref missing); IRelationalOperator relationalLine = polyline as IRelationalOperator; if (relationalLine.Contains(nearestPoint)) { FlashGeometry(polyline as IGeometry, 5, 10); convertPart = i; break; } } break; case esriGeometryType.esriGeometryPolygon: for (i = 0; i geometryCollection.GeometryCount; i++) { IGeometryCollection polygon = new PolygonClass(); polygon.AddGeometry(geometryCollection.get_Geometry(i), ref missing, ref missing); IRelationalOperator relPolygon = polygon as IRelationalOperator; if (relPolygon.Contains(pPt)) { FlashGeometry(polygon as IGeometry, 5, 10); convertPart = i; break; } } break; default: break; } if (convertPart == -1) return -1; return convertPart; } private void ConvertPartToFeature(int part, IFeature selectedFeature) { IGeometryCollection geometryCollection = selectedFeature.Shape as IGeometryCollection; IFeatureClass featureClass = selectedFeature.Class as IFeatureClass; IDataset dataset = featureClass as IDataset; IWorkspaceEdit workspaceEdit = dataset.Workspace as IWorkspaceEdit; if (!(workspaceEdit.IsBeingEdited())) return; IFeature newFeature = null; try { workspaceEdit.StartEditOperation(); newFeature = featureClass.C
您可能关注的文档
最近下载
- 重型车辆事故救援培训.pptx
- 六年级家长会方案必威体育精装版.pdf VIP
- 久保田D722发动机零件图册.pdf VIP
- 美国《先进制造业国家战略》(英)(202210).pdf VIP
- 中文学科论文写作(第三版)卢卓群-第四章.pptx VIP
- 《水浒传》导读封面+第一周任务卡.docx VIP
- 《工业机器人系统操作与运维》 课件 第31-32讲-点焊机器人.ppt
- 北大荒精神专题讲座党史学习教育课件.pptx VIP
- 2024年关于安全生产重要论述PPT课件.ppt VIP
- Find_My_Network_Accessory_Specification__Developer_Preview_R3-高清版操作说明.pdf VIP
文档评论(0)