public PreparedGeometry CreatePreparedGeometry() { IntPtr cPtr = OgrPINVOKE.Geometry_CreatePreparedGeometry(swigCPtr); PreparedGeometry ret = (cPtr == IntPtr.Zero) ? null : new PreparedGeometry(cPtr, true, ThisOwn_true()); if (OgrPINVOKE.SWIGPendingException.Pending) { throw OgrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static HandleRef getCPtrAndSetReference(PreparedGeometry obj, object parent) { if (obj != null) { obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
public static HandleRef getCPtrAndDisown(PreparedGeometry obj, object parent) { if (obj != null) { obj.swigCMemOwn = false; obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
public static HandleRef getCPtr(PreparedGeometry obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }