public bool SetIndexingVariable(MDArray array) { bool ret = GdalPINVOKE.Dimension_SetIndexingVariable(swigCPtr, MDArray.getCPtr(array)); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MDArray ResolveMDArray(string name, string starting_point, string[] options) { IntPtr cPtr = GdalPINVOKE.Group_ResolveMDArray(swigCPtr, name, starting_point, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MDArray GetMask(string[] options) { IntPtr cPtr = GdalPINVOKE.MDArray_GetMask(swigCPtr, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MDArray GetIndexingVariable() { IntPtr cPtr = GdalPINVOKE.Dimension_GetIndexingVariable(swigCPtr); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MDArray GetUnscaled() { IntPtr cPtr = GdalPINVOKE.MDArray_GetUnscaled(swigCPtr); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MDArray Transpose(int nList, int[] pList) { IntPtr cPtr = GdalPINVOKE.MDArray_Transpose(swigCPtr, nList, pList); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static HandleRef getCPtrAndSetReference(MDArray obj, object parent) { if (obj != null) { obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
public static HandleRef getCPtrAndDisown(MDArray obj, object parent) { if (obj != null) { obj.swigCMemOwn = false; obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
public static HandleRef getCPtr(MDArray obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }