示例#1
0
文件: Band.cs 项目: jugstalt/gview5
        public MDArray AsMDArray()
        {
            IntPtr  cPtr = GdalPINVOKE.Band_AsMDArray(swigCPtr);
            MDArray ret  = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true());

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }