public static int GetUserInputAsWKT(string name, out string argout) { int ret = OsrPINVOKE.GetUserInputAsWKT(name, out argout); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SpatialReference Clone() { IntPtr cPtr = OsrPINVOKE.SpatialReference_Clone(swigCPtr); SpatialReference ret = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true()); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { swigCMemOwn = false; OsrPINVOKE.delete_SpatialReference(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); swigParentRef = null; GC.SuppressFinalize(this); } }
public CoordinateTransformation(SpatialReference src, SpatialReference dst) : this(OsrPINVOKE.new_CoordinateTransformation(SpatialReference.getCPtr(src), SpatialReference.getCPtr(dst)), true, null) { if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } }
public static void DontUseExceptions() { OsrPINVOKE.DontUseExceptions(); }
public static void UseExceptions() { OsrPINVOKE.UseExceptions(); }