91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 147KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-14
  • 語言: 其他
  • 標簽: feature;AE??

資源簡介

ArcEngine點線面要素的編輯,包括移動,打斷,延長,畫線分割等

資源截圖

代碼片段和文件信息

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?(

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-12-25?16:04??Editor\
?????文件?????????908??2014-12-25?16:00??Editor.sln
?????文件???????76365??2012-08-19?15:48??Editor\ArcgisEditor.cs
?????文件????????8494??2012-08-18?16:40??Editor\ArcGISManyObj.cs
?????目錄???????????0??2014-12-25?16:00??Editor\bin\
?????目錄???????????0??2014-12-25?16:00??Editor\bin\Debug\
?????文件???????45568??2014-12-25?16:05??Editor\bin\Debug\Editor.exe
?????文件??????103936??2014-12-25?16:05??Editor\bin\Debug\Editor.pdb
?????文件???????11608??2014-12-25?16:22??Editor\bin\Debug\Editor.vshost.exe
?????目錄???????????0??2014-12-25?16:00??Editor\bin\Release\
?????文件????????8253??2014-12-25?16:04??Editor\Editor.csproj
?????文件?????????452??2014-12-25?16:04??Editor\Editor.csproj.user
?????文件????????7857??2014-12-25?16:04??Editor\Form1.cs
?????文件???????18787??2014-12-25?16:04??Editor\Form1.Designer.cs
?????文件???????11736??2014-12-25?16:04??Editor\Form1.resx
?????目錄???????????0??2012-08-17?15:10??Editor\obj\
?????目錄???????????0??2014-12-25?16:05??Editor\obj\Debug\
?????文件?????????789??2014-12-25?16:00??Editor\obj\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件????????7320??2014-12-25?16:05??Editor\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件????????1631??2014-12-25?16:22??Editor\obj\Debug\Editor.csproj.FileListAbsolute.txt
?????文件?????????975??2014-12-25?16:04??Editor\obj\Debug\Editor.csproj.GenerateResource.Cache
?????文件??????131265??2014-12-25?16:04??Editor\obj\Debug\Editor.csprojResolveAssemblyReference.cache
?????文件???????45568??2014-12-25?16:05??Editor\obj\Debug\Editor.exe
?????文件????????3847??2014-12-25?16:04??Editor\obj\Debug\Editor.Form1.resources
?????文件??????103936??2014-12-25?16:05??Editor\obj\Debug\Editor.pdb
?????文件?????????180??2014-12-25?16:04??Editor\obj\Debug\Editor.Properties.Resources.resources
?????目錄???????????0??2012-08-17?17:05??Editor\obj\Debug\Refactor\
?????目錄???????????0??2014-12-25?16:00??Editor\obj\Debug\TempPE\
?????文件????????4608??2014-12-25?16:00??Editor\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件?????????574??2014-12-25?16:05??Editor\Program.cs
?????目錄???????????0??2012-08-17?15:10??Editor\Properties\
............此處省略5個文件信息

評論

共有 條評論

相關資源