public void GetEnvelope(Envelope env) { OgrPINVOKE.Geometry_GetEnvelope(swigCPtr, Envelope.getCPtr(env)); if (OgrPINVOKE.SWIGPendingException.Pending) { throw OgrPINVOKE.SWIGPendingException.Retrieve(); } }
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); }