根据鼠标点击的屏幕点同时生成点图层和线图层。线是由相邻两点的连线(Create a point layer and line layer at the same time as the mouse click on the screen point. A line is a line made up of two adjacent points).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
根据鼠标点击的屏幕点同时生成点图层和线图层。线是由相邻两点的连线(Create a point layer and line layer at the same time as the mouse click on the screen point. A line is a line made up of two adjacent points)
根据鼠标点击的屏幕点同时生成点图层和线图层。线是由相邻两点的连线(Create a point layer and line layer at the same time as the mouse click on the screen point. A line is a line made up of two adjacent points)
Your position: ALL FOR GIS? GIS God helps those who help themselves according to the mouse click on the screen? Log and generating point and line layer layer. The line is by two adjacent lines (the test code)
On a 2010-06-10 08:42:44 / ArcGIS Engine: personal classification
See (52) / (0) / review score (0 / 0)
Dim pArray As IArray
Dim pPolyline As IPolyline
Private Sub (UIToolControl1_DblClick)
Dim pMxDoc As IMxDocument
Set pMxDoc = ThisDocument
Dim pMap As IMap
Dim pPointLayer As ILayer
Dim pLineLayer As ILayer
Set pMap = pMxDoc.FocusMap
Set pPointLayer = pMap.Layer (0)
Set pLineLayer = pMap.Layer (1)
Dim pFeatPointLayer As IFeatureLayer
Dim pFeatLineLayer As IFeatureLayer
Set pFeatPointLayer = pPointLayer
Set pFeatLineLayer = pLineLayer
Dim pFeatPointCls As IFeatureClass
Dim pFeatLineCls As IFeatureClass
Set pFeatPointCls = pFeatPointLayer.FeatureClass
Set pFeatLineCls = pFeatLineLayer.FeatureClass
Dim pWorkspace As IWorkspace
Dim pDataset As IDataset
Dim pPointFeatureBuffer As IFeatureBuffer
Dim pPointFeatureCursor As IFeatureCursor
Dim pLineFeatureBuffer As IFeatureBuffer
Dim pLineFeatureCursor As IFeatureCursor
Dim pPointFeature As IFeature
Dim pLineFeature As IFeature
Set pDataset = pFeatPointCls
Set pWorkspace = pDataset.Workspace
Dim pWorkspaceEdit As IWorkspaceEdit
Set pWorkspaceEdit = pWorkspace
PWorkspaceEdit.StartEditing True
PWorkspaceEdit.StartEditOperation
Set pPointFeatureBuffer = pFeatPointCls.CreateFeatureBuffer
Set pPointFeatureCursor = pFeatPointCls.Insert (True)
Set pLineFeatureBuffer = pFeatLineCls.CreateFeatureBuffer
Set pLineFeatureCursor = pFeatLineCls.Insert (True)
Set pPointFeature = pPointFeatureBuffer
Set pLineFeature = pLineFeatureBuffer
Dim Pt As IPoint
Dim pl As IPolyline
dim ptt as ipoint
cnt = parray. count
for i = 0 to cnt 1
set ppointfeature shape = parray.e
您可能关注的文档
- 怎样开机加速(How to speed up the boot).doc
- 怎样快速提高理科成绩(How to improve science scores quickly).doc
- 怎样完成驾校 场地九项考试 快速通过技巧(How to complete the driving school nine exams through skills quickly).doc
- 怎样训练孩子快速写作业(How do you train your child to do his homework quickly).doc
- 怎样开好手动档车(How do I drive a manual car).doc
- 怎样追求内向女孩(How to pursue introverted girls).doc
- 怎样鉴别头层牛皮(How to identify the first layer of cowhide).doc
- 思科2950配置(CISCO 2950 configuration).doc
- 思科wap4400n专为现有网络设计的高速无线接入(CISCO wap4400n designed for high speed wireless access to existing networks).doc
- 性能指标命令和结果分析(Performance metrics, commands, and results analysis).doc
- 桂林市快速代评助理(中级)高级工程师职称评定评审及申报(Guilin fast acting assistant (intermediate) senior engineer title evaluation, evaluation and declaration).doc
- 标志设计鉴赏 - 镇江市教育信息网(Appreciation of logo design - Zhenjiang education information network).doc
- 桂花苗苗床的科学管理(The scientific management of seedling bed of sweet osmanthus).doc
- 桂林到张家界自助游我的张家界之行迟来的游记!(Guilin to Zhangjiajie self-help travel my trip to Zhangjiajie late travel!).doc
- 桂花树苗插穗的切制与处理(Cutting and processing of sweet osmanthus tree cuttings).doc
- 案例记实各司其职的区域经理为何争论不断(Case record why do the regional managers who perform their duties argue constantly).doc
- 桑拿技师部实操培训计划(Practical training plan for sauna technician Department).doc
- 档位与转速(Gear and speed).doc
- 案例评析乐凯集团并购上海新风厂(Case analysis Lucky Group's acquisition of Shanghai air plant).doc
- 桥台设计与施工方案的选定(Selection of abutment design and construction plan).doc
文档评论(0)