protected void EarthView_World_Spatial2D_Display_IFeatureRenderer_draw_void_IDisplay2D_IFeature_Function(IntPtr display, IntPtr feature)
                    {
                        EarthView.World.Display.Idisplay2d csobj_display = new EarthView.World.Display.Idisplay2d(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_display.BindNativeObject(display, "IDisplay2D");
                        csobj_display.Delegate = true;
                        IClassFactory csobj_displayClassFactory = GlobalClassFactoryMap.Get(csobj_display.GetCppInstanceTypeName());

                        if (csobj_displayClassFactory != null)
                        {
                            csobj_display.Delegate = true;
                            csobj_display          = csobj_displayClassFactory.Create() as EarthView.World.Display.Idisplay2d;
                            csobj_display.BindNativeObject(display, "IDisplay2D");
                            csobj_display.Delegate = true;
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csobj_feature = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_feature.BindNativeObject(feature, "IFeature");
                        csobj_feature.Delegate = true;
                        IClassFactory csobj_featureClassFactory = GlobalClassFactoryMap.Get(csobj_feature.GetCppInstanceTypeName());

                        if (csobj_featureClassFactory != null)
                        {
                            csobj_feature.Delegate = true;
                            csobj_feature          = csobj_featureClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csobj_feature.BindNativeObject(feature, "IFeature");
                            csobj_feature.Delegate = true;
                        }

                        Draw(csobj_display, csobj_feature);
                    }
Ejemplo n.º 2
0
                    protected IntPtr EarthView_World_Spatial_GeoDataset_IFeatureIterator_next_IFeature_Function()
                    {
                        EarthView.World.Spatial.GeoDataset.Ifeature csret = Next();

                        if (!object.Equals(csret, null))
                        {
                            csret.Delegate = true;
                            return(csret.NativeObject);
                        }
                        else
                        {
                            return(IntPtr.Zero);
                        }
                    }
Ejemplo n.º 3
0
                    protected void EarthView_World_Spatial2D_Renderer_CDrawTheme_draw_void_ISpatialDisplay_ISymbol_IFeature_Function(IntPtr ref_display, IntPtr symbol, IntPtr feature)
                    {
                        EarthView.World.Spatial.Display.Ispatialdisplay csobj_ref_display = new EarthView.World.Spatial.Display.Ispatialdisplay(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                        csobj_ref_display.Delegate = true;
                        IClassFactory csobj_ref_displayClassFactory = GlobalClassFactoryMap.Get(csobj_ref_display.GetCppInstanceTypeName());

                        if (csobj_ref_displayClassFactory != null)
                        {
                            csobj_ref_display.Delegate = true;
                            csobj_ref_display          = csobj_ref_displayClassFactory.Create() as EarthView.World.Spatial.Display.Ispatialdisplay;
                            csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                            csobj_ref_display.Delegate = true;
                        }
                        EarthView.World.Spatial.Display.Isymbol csobj_symbol = new EarthView.World.Spatial.Display.Isymbol(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_symbol.BindNativeObject(symbol, "ISymbol");
                        csobj_symbol.Delegate = true;
                        IClassFactory csobj_symbolClassFactory = GlobalClassFactoryMap.Get(csobj_symbol.GetCppInstanceTypeName());

                        if (csobj_symbolClassFactory != null)
                        {
                            csobj_symbol.Delegate = true;
                            csobj_symbol          = csobj_symbolClassFactory.Create() as EarthView.World.Spatial.Display.Isymbol;
                            csobj_symbol.BindNativeObject(symbol, "ISymbol");
                            csobj_symbol.Delegate = true;
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csobj_feature = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_feature.BindNativeObject(feature, "IFeature");
                        csobj_feature.Delegate = true;
                        IClassFactory csobj_featureClassFactory = GlobalClassFactoryMap.Get(csobj_feature.GetCppInstanceTypeName());

                        if (csobj_featureClassFactory != null)
                        {
                            csobj_feature.Delegate = true;
                            csobj_feature          = csobj_featureClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csobj_feature.BindNativeObject(feature, "IFeature");
                            csobj_feature.Delegate = true;
                        }

                        Draw(csobj_ref_display, csobj_symbol, csobj_feature);
                    }
Ejemplo n.º 4
0
                    /// <summary>
                    /// 下一个结果
                    /// </summary>
                    /// <returns>如果移动到最后,返回NULL;否则,返回值有效</returns>
                    public virtual EarthView.World.Spatial.GeoDataset.Ifeature Next_NoVirtual()
                    {
                        IntPtr __ptr = EarthView_World_Spatial_GeoDataset_IFeatureIterator_next_IFeature_NoVirtual(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csObj = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IFeature");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csObj.BindNativeObject(__ptr, "IFeature");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
                    /// <summary>
                    /// 返回下一个要素对象
                    /// </summary>
                    /// <param name="bCreateNewOne">是否创建一个新的要素,true需要外部释放</param>
                    /// <returns>获取的要素对象</returns>
                    public EarthView.World.Spatial.GeoDataset.Ifeature Next(bool bCreateNewOne)
                    {
                        IntPtr __ptr = EarthView_World_Spatial3D_Dataset_CWebEntityIterator_next_IFeature_ev_bool(this.NativeObject, Convert.ToByte(bCreateNewOne));

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csObj = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IFeature");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csObj.BindNativeObject(__ptr, "IFeature");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
Ejemplo n.º 6
0
                    /// <summary>
                    /// 获取要素
                    /// </summary>
                    /// <param name=""></param>
                    /// <returns>要素对象</returns>
                    public EarthView.World.Spatial.GeoDataset.Ifeature GetFeature()
                    {
                        IntPtr __ptr = EarthView_World_Spatial3D_Dataset_CModelDatasetEditEvent_getFeature_IFeature(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csObj = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IFeature");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csObj.BindNativeObject(__ptr, "IFeature");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
Ejemplo n.º 7
0
                    public bool Evaluate(EarthView.World.Spatial.GeoDataset.Ifeature pFeature)
                    {
                        byte ret = EarthView_World_Spatial_GeoDataset_CAttributeQuery_Evaluate_ev_bool_IFeature(this.NativeObject, object.Equals(pFeature, null) ? IntPtr.Zero : pFeature.NativeObject);

                        return(Convert.ToBoolean(ret));
                    }
Ejemplo n.º 8
0
 public override void Draw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Display.Isymbol symbol, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     base.Draw_NoVirtual(ref_display, symbol, feature);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// 发送更新索引事件
 /// </summary>
 /// <returns></returns>
 public static void SendUpdateOctreeEvent(EarthView.World.Spatial.GeoDataset.Idataset pDataset, EarthView.World.Spatial.GeoDataset.Ifeature info, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType)
 {
     EarthView_World_Spatial3D_Dataset_CModelEventUtility_sendUpdateOctreeEvent_void_IDataset_IFeature_EntityDatasetOperType(object.Equals(pDataset, null) ? IntPtr.Zero : pDataset.NativeObject, object.Equals(info, null) ? IntPtr.Zero : info.NativeObject, operType);
 }
Ejemplo n.º 10
0
 public virtual void Draw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Display.Isymbol symbol, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     EarthView_World_Spatial2D_Renderer_CDrawTheme_draw_void_ISpatialDisplay_ISymbol_IFeature(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(symbol, null) ? IntPtr.Zero : symbol.NativeObject, object.Equals(feature, null) ? IntPtr.Zero : feature.NativeObject);
 }
 /// <summary>
 /// 绘制
 /// </summary>
 /// <param name="display">显示参数</param>
 /// <param name="feature">要素</param>
 /// <returns>返回统计专题图</returns>
 public virtual void Draw(EarthView.World.Display.Idisplay2d display, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     EarthView_World_Spatial2D_Display_IFeatureRenderer_draw_void_IDisplay2D_IFeature(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, object.Equals(feature, null) ? IntPtr.Zero : feature.NativeObject);
 }
Ejemplo n.º 12
0
 public override void Draw(EarthView.World.Display.Idisplay2d display, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     base.Draw_NoVirtual(display, feature);
 }
Ejemplo n.º 13
0
 /// <summary>
 /// 绘制要素
 /// </summary>
 /// <param name="feature">待绘制的要素</param>
 /// <returns></returns>
 public virtual void Draw_NoVirtual(EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     EarthView_World_Spatial2D_Renderer_CFeatureRenderer_draw_void_IFeature_NoVirtual(this.NativeObject, object.Equals(feature, null) ? IntPtr.Zero : feature.NativeObject);
 }
Ejemplo n.º 14
0
 /// <summary>
 /// 设置要素
 /// </summary>
 /// <param name="f">要素对象</param>
 /// <returns></returns>
 public void SetFeature(EarthView.World.Spatial.GeoDataset.Ifeature f)
 {
     EarthView_World_Spatial3D_Dataset_CModelDatasetEditEvent_setFeature_void_IFeature(this.NativeObject, object.Equals(f, null) ? IntPtr.Zero : f.NativeObject);
 }