コード例 #1
0
ファイル: Projection.cs プロジェクト: chillpen/FireMonitor
        //投影转换
        public void ProjConvert(string srcProjParam, string desProjParam, int pointCount, double[] X, double[] Y, double[] Z)
        {
            ////投影参数初始化
            IntPtr pjSrc = ProjWrapper.pj_init_plus(srcProjParam);
            IntPtr pjDes = ProjWrapper.pj_init_plus(desProjParam);

            ProjWrapper.pj_transform(pjSrc, pjDes, pointCount, 0, X, Y, Z);
            // X = null;
            // Y = null;
            Z = null;
        }