Esempio n. 1
0
        public static string OSRCRSInfo_projection_method_get(CRSInfo crsInfo)
        {
            string ret = OsrPINVOKE.OSRCRSInfo_projection_method_get(CRSInfo.getCPtr(crsInfo));

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public static double OSRCRSInfo_north_lat_degree_get(CRSInfo crsInfo)
        {
            double ret = OsrPINVOKE.OSRCRSInfo_north_lat_degree_get(CRSInfo.getCPtr(crsInfo));

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public static bool OSRCRSInfo_bbox_valid_get(CRSInfo crsInfo)
        {
            bool ret = OsrPINVOKE.OSRCRSInfo_bbox_valid_get(CRSInfo.getCPtr(crsInfo));

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public static CRSType OSRCRSInfo_type_get(CRSInfo crsInfo)
        {
            CRSType ret = (CRSType)OsrPINVOKE.OSRCRSInfo_type_get(CRSInfo.getCPtr(crsInfo));

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public CRSInfo get(int index)
        {
            IntPtr  cPtr = OsrPINVOKE.CRSInfoList_get(swigCPtr, index);
            CRSInfo ret  = (cPtr == IntPtr.Zero) ? null : new CRSInfo(cPtr, false, ThisOwn_false());

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 public static HandleRef getCPtrAndSetReference(CRSInfo obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Esempio n. 7
0
 public static HandleRef getCPtrAndDisown(CRSInfo obj, object parent)
 {
     if (obj != null)
     {
         obj.swigCMemOwn   = false;
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Esempio n. 8
0
 public static HandleRef getCPtr(CRSInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }