资源简介
基于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个文件信息
相关资源
- qt aes加密 源代码
- (AES算法)能对文件进行加密解密
- dockae第一
- 编程实现Simplified-AES算法加密过程和解
- UltraEdit 14.20注册机
- AES算法优化 PDF
- RCVD悬架几何翻译.docx
- Arcgis Engine中创建书签
- 使用C51实现128位AES加密算法
- saej1708中文版
- Arcengine地图编辑工具条源代码
- aes加密算法源代码.rar
- STM32 IAP程序代码,固件AES256 加密,
- 汇编实现的简易图形编辑器
- AES算法标准C程序源代码
- AES的verilog实现
- Michael Artin 代数 答案 solutions of Algeb
- UltraEdit 常用 wordfiles包
- ArcEngine要素编辑
- AEC-Q100标准汽车电子标准
- aerfa软件软件软件软件软件软件软件
- AES加解密算法66330
- RSA加解密实现,修改自RSAEuro
- 编辑过程中自动保存插件10.0_V2.0.rar
- 动真格AE脚本真货不欺诈
- 4047ff7e34eaee7d088c6dc2f69f7b0a.docx
- 武汉大学gis地理工程实习
- AES加密解密文档.doc
- arcgis engine 鼠标中键拖动平移地图(
- FPGA实现AES256位加密算法和解密算法
评论
共有 条评论