Esempio n. 1
0
 public void GetEnvelope(Envelope env)
 {
     OgrPINVOKE.Geometry_GetEnvelope(swigCPtr, Envelope.getCPtr(env));
     if (OgrPINVOKE.SWIGPendingException.Pending)
     {
         throw OgrPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public int GetExtent(Envelope extent, int force)
        {
            int ret = OgrPINVOKE.Layer_GetExtent(swigCPtr, Envelope.getCPtr(extent), force);

            if (OgrPINVOKE.SWIGPendingException.Pending)
            {
                throw OgrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }