/// <summary> /// 默认构造函数 /// </summary> public LinestringTrackingItemWrapper(EarthView.World.Spatial2D.Controls.MapControl ref_mapcontrol) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_mapcontrol = new BasePtr(ref_mapcontrol); list.Add("ref_mapcontrol", valueref_mapcontrol.PtrVal); Create("CLinestringTrackingItemWrapper", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 ///默认值:pointCountPerLine(100) 每条线最多点数 ///levelCount(10) 级别数 ///tolerance(5) 线段化简容差(像素,内部换算),越大表示化简力度越大。 ///使用此构造函数,还需调用 /// </summary> public LinestringTrackingItemWrapper(EarthView.World.Spatial2D.Controls.MapControl ref_mapcontrol, int pointCountPerLine, int levelCount, int tolerance) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_mapcontrol = new BasePtr(ref_mapcontrol); list.Add("ref_mapcontrol", valueref_mapcontrol.PtrVal); BasePtr valuepointCountPerLine = new BasePtr(pointCountPerLine); list.Add("pointCountPerLine", valuepointCountPerLine.PtrVal); BasePtr valuelevelCount = new BasePtr(levelCount); list.Add("levelCount", valuelevelCount.PtrVal); BasePtr valuetolerance = new BasePtr(tolerance); list.Add("tolerance", valuetolerance.PtrVal); Create("CLinestringTrackingItemWrapper", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name=""></param> /// <returns></returns> public FeatureUnionTask(EarthView.World.Spatial2D.Controls.DataEditor ref_editor, EarthView.World.Spatial2D.Controls.MapControl ref_pControl) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_editor = new BasePtr(ref_editor); list.Add("ref_editor", valueref_editor.PtrVal); BasePtr valueref_pControl = new BasePtr(ref_pControl); list.Add("ref_pControl", valueref_pControl.PtrVal); Create("CFeatureUnionTaskProxy", list); if (!"EarthView.World.Spatial2D.Controls.FeatureUnionTask".Equals(((Object)this).GetType().ToString())) { this.SetCustomExtend(true); } RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }