Example #1
0
        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);
        }