/// <summary>
                    /// 通过EarthView几何体数据流,创建几何体对象
                    /// </summary>
                    /// <param name="stream">EarthView格式数据流</param>
                    /// <returns></returns>
                    public EarthView.World.Spatial.Geometry.Igeometry CreateGeometryFromEVGeometryBuffer(ref EarthView.World.Core.DataStream stream)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Geometry_CGeometryFactory_createGeometryFromEVGeometryBuffer_IGeometry_CDataStream(this.NativeObject, object.Equals(stream, null) ? IntPtr.Zero : stream.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Geometry.Igeometry csObj = new EarthView.World.Spatial.Geometry.Igeometry(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IGeometry");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Geometry.Igeometry;
                            csObj.BindNativeObject(__ptr, "IGeometry");
                        }
                        return(csObj);
                    }
                    /// <summary>
                    /// 通过WKT创建几何体对象
                    /// </summary>
                    /// <param name="wkt">WKT格式字符串</param>
                    /// <returns></returns>
                    public EarthView.World.Spatial.Geometry.Igeometry CreateGeometryFromWKT(string wkt)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Geometry_CGeometryFactory_createGeometryFromWKT_IGeometry_EVString(this.NativeObject, wkt);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Geometry.Igeometry csObj = new EarthView.World.Spatial.Geometry.Igeometry(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IGeometry");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Geometry.Igeometry;
                            csObj.BindNativeObject(__ptr, "IGeometry");
                        }
                        return(csObj);
                    }
                    public override EarthView.World.Spatial.Geometry.Igeometry GetGeometry()
                    {
                        IntPtr __ptr = EarthView_World_Spatial2D_Controls_CEditingPolygon_getGeometry_IGeometry(this.NativeObject);

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

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Geometry.Igeometry;
                            csObj.BindNativeObject(__ptr, "IGeometry");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }