Exemplo n.º 1
0
        public Geometry Transform(GeomTransformer transformer)
        {
            IntPtr   cPtr = OgrPINVOKE.Geometry_Transform__SWIG_1(swigCPtr, GeomTransformer.getCPtr(transformer));
            Geometry ret  = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true());

            if (OgrPINVOKE.SWIGPendingException.Pending)
            {
                throw OgrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 public static HandleRef getCPtrAndSetReference(GeomTransformer obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Exemplo n.º 3
0
 public static HandleRef getCPtrAndDisown(GeomTransformer obj, object parent)
 {
     if (obj != null)
     {
         obj.swigCMemOwn   = false;
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Exemplo n.º 4
0
 public static HandleRef getCPtr(GeomTransformer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }