资源简介
基于AE实现了多种图形编辑功能,非常强大,保证可以运行!

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.IO;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.DataSourcesGDB;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Controls;
namespace Editor
{
///
/// 使用本类可以新建点、线、面
/// 移动点、线、面
/// 编辑线、面的节点
/// 使用时需设置Map和Currentlayer
///
public class ArcgisEditor
{
private IMapControl3 m_pMapControl;
private ilayer m_pCurrentlayer;
private IMap m_pMap;
private IFeature m_pEditFeature;
private IPoint m_pPoint;
private IDisplayFeedback m_pFeedback;
private bool m_bInUse;
private IPointCollection m_pPointCollection;
private ISelection m_Selection = null;
private IGeometryCollection m_GeometryCollection = null;
public static IEnumFeature SelEnumFeature = null;
private IArray m_ElementArray = new ArrayClass();
private IFeature snapFeature = null;
private IPoint snapPoint = null; //捕捉到的点
private IMovePointFeedback movePointFeedback = new MovePointFeedbackClass();
private IElement m_element = null; //界面绘制点元素
private IPoint currentPoint = new PointClass(); //当前鼠标点
private bool bCreateElement = true;
private List pCol = new List();
public IMapControl3 MapControl
{
get
{
return m_pMapControl;
}
set
{
m_pMapControl = value;
}
}
///
/// 当前图层
///
public ilayer Currentlayer
{
get
{
return m_pCurrentlayer;
}
set
{
m_pCurrentlayer = (ilayer)value;
}
}
///
/// 地图对象
///
public IMap Map
{
get
{
return m_pMap;
}
set
{
m_pMap = (IMap)value;
}
}
///
/// 选中的要素
///
public ISelection Selection
{
get { return m_Selection; }
set { m_Selection = value; }
}
///
/// 构造函数
///
public ArcgisEditor()
{
}
public bool IsStartEdit()
{
IWorkspaceEdit pWorkspaceEdit;
IFeatureClass pFeatureCls;
IFeaturelayer pFeatureLyr;
bool pIsStart = false;
for (
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5612 2012-08-17 15:10 Editor\Editor\Properties\Resources.resx
文件 249 2012-08-17 15:10 Editor\Editor\Properties\Settings.settings
文件 1368 2012-08-17 15:10 Editor\Editor\Properties\AssemblyInfo.cs
文件 2862 2012-08-17 15:10 Editor\Editor\Properties\Resources.Designer.cs
文件 1091 2012-08-17 15:10 Editor\Editor\Properties\Settings.Designer.cs
文件 11192 2012-08-19 15:07 Editor\Editor\Form1.resx
文件 76365 2012-08-19 15:48 Editor\Editor\ArcgisEditor.cs
文件 5417 2012-08-18 16:40 Editor\Editor\Editor.csproj
文件 490 2007-07-21 01:33 Editor\Editor\bin\Debug\Editor.vshost.exe.manifest
文件 14328 2012-08-20 08:39 Editor\Editor\bin\Debug\Editor.vshost.exe
文件 44544 2012-08-19 16:58 Editor\Editor\bin\Debug\Editor.exe
文件 95744 2012-08-19 16:58 Editor\Editor\bin\Debug\Editor.pdb
文件 3486 2012-08-19 15:26 Editor\Editor\obj\Debug\Editor.Form1.resources
文件 180 2012-08-19 15:26 Editor\Editor\obj\Debug\Editor.Properties.Resources.resources
文件 847 2012-08-19 15:26 Editor\Editor\obj\Debug\Editor.csproj.GenerateResource.Cache
文件 44544 2012-08-19 16:58 Editor\Editor\obj\Debug\Editor.exe
文件 645 2012-08-20 08:39 Editor\Editor\obj\Debug\Editor.csproj.FileListAbsolute.txt
文件 95744 2012-08-19 16:58 Editor\Editor\obj\Debug\Editor.pdb
文件 18779 2012-08-19 15:07 Editor\Editor\Form1.Designer.cs
文件 7857 2012-08-19 15:45 Editor\Editor\Form1.cs
文件 487 2012-08-17 15:10 Editor\Editor\Program.cs
文件 8494 2012-08-18 16:40 Editor\Editor\ArcGISManyObj.cs
文件 908 2012-08-17 15:10 Editor\Editor.sln
..A..H. 19456 2012-08-20 08:55 Editor\Editor.suo
目录 0 2012-08-17 15:10 Editor\Editor\obj\Debug\TempPE
目录 0 2012-08-17 17:05 Editor\Editor\obj\Debug\Refactor
目录 0 2012-08-17 15:10 Editor\Editor\bin\Debug
目录 0 2012-08-17 15:10 Editor\Editor\obj\Debug
目录 0 2012-08-17 15:10 Editor\Editor\Properties
目录 0 2012-08-17 15:10 Editor\Editor\bin
............此处省略6个文件信息
相关资源
- AE开发Windows最短路径分析
- RSA AES DES ECC加密算法源码
- vc利用MFC底层开发的二维GIS管理软件,
- 提供几个加密算法的源码
- Research on pharmacological effects of lycorin
- 联想K29最新1.70BIOS修改版,去白名单验
- UltraEdit 26.x版本 激活工具
- UltraEdit v26.10版本 注册机
-
li
nksys AE1000/Cisco AM10无线网卡驱动 - 惠普动能服务器助力MCAE解决方案
- raphael画各种简单的图形都可以拖动
- ADAS功能动画ACC/AEB/IPA/BSW/LDW等)
- SAEJ1939 全部资料打包中英文
- UltraEdit 17.20 官方最新简体中文版含破
- ISO15031英文版+SAE_J2012英文版.zip
- AES for Delphi 加密解密
- CAE技术在注塑模具上的应用
- 基于CAD/CAE的注塑模具计算机模拟优化
- Aerosim Blockset
- 新闻管理系统前台和后台
- 空气动力学资料合集.Anderson.Fundament
- aes加密js工具包
- 精灵虚拟光驱(Daemon Tools) 4.30.4 官方
- Ultraedit环境下配置verilog语法高亮的字
- Fundamentals of Aerodynamics 5th edition
- dae转gltf工具
- Ultraedit_22.20.0.43_64位简体中文版 + 完美
- 虚拟光驱(Daemon Tools) 4.30.4 官方中文
- 基于SSM的电商平台
- Simple Assembly Explorer v1.14.4.NET Class Edi
评论
共有 条评论