public static string CalcImageTileCacheFilePath(EarthView.World.Spatial.EVTILEMODETYPE tilemode, string layerPath, int level, int row, int col)
                {
                    IntPtr __ptr = EarthView_World_Spatial3D_CCacheDatasetDir_calcImageTileCacheFilePath_EVString_EVTileModeType_EVString_ev_int32_ev_int32_ev_int32(tilemode, layerPath, level, row, col);

                    string ret = Marshal.PtrToStringAnsi(__ptr);

                    ClassFactory.FreeString(ref __ptr);
                    return(ret);
                }
                /// <summary>
                /// 生成瓦片路径规则
                /// </summary>
                /// <param name="dataType">数据类型,影像、矢量、DEM</param>
                /// <param name="tilePathType">路径类型,离散文件、库文件</param>
                /// <param name="tileModeType">模式,WGS84、Mercator还是古唐</param>
                /// <returns></returns>
                public static EarthView.World.Spatial.TilePathRule CreateTilePathRule(EarthView.World.Spatial.EVTILEDATATYPE dataType, EarthView.World.Spatial.EVTILEPATHTYPE tilePathType, EarthView.World.Spatial.EVTILEMODETYPE tileModeType)
                {
                    IntPtr __ptr = EarthView_World_Spatial_CTilePathRuleFactory_createTilePathRule_CTilePathRule_EVTileDataType_EVTilePathType_EVTileModeType(dataType, tilePathType, tileModeType);

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

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.TilePathRule;
                        csObj.BindNativeObject(__ptr, "CTilePathRule");
                    }
                    return(csObj);
                }
 private static extern IntPtr EarthView_World_Spatial_CTilePathRuleFactory_createTilePathRule_CTilePathRule_EVTileDataType_EVTilePathType_EVTileModeType(EarthView.World.Spatial.EVTILEDATATYPE dataType, EarthView.World.Spatial.EVTILEPATHTYPE tilePathType, EarthView.World.Spatial.EVTILEMODETYPE tileModeType);
 private static extern IntPtr EarthView_World_Spatial3D_CCacheDatasetDir_calcImageTileCacheFilePath_EVString_EVTileModeType_EVString_ev_int32_ev_int32_ev_int32(EarthView.World.Spatial.EVTILEMODETYPE tilemode, string layerPath, int level, int row, int col);