1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
12
using System.Runtime.InteropServices;
14
public class Envelope3D : IDisposable {
15
private HandleRef swigCPtr;
16
protected bool swigCMemOwn;
17
protected object swigParentRef;
19
protected static object ThisOwn_true() { return null; }
20
protected object ThisOwn_false() { return this; }
22
public Envelope3D(IntPtr cPtr, bool cMemoryOwn, object parent) {
23
swigCMemOwn = cMemoryOwn;
24
swigParentRef = parent;
25
swigCPtr = new HandleRef(this, cPtr);
28
public static HandleRef getCPtr(Envelope3D obj) {
29
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
31
public static HandleRef getCPtrAndDisown(Envelope3D obj, object parent) {
34
obj.swigCMemOwn = false;
35
obj.swigParentRef = parent;
40
return new HandleRef(null, IntPtr.Zero);
43
public static HandleRef getCPtrAndSetReference(Envelope3D obj, object parent) {
46
obj.swigParentRef = parent;
51
return new HandleRef(null, IntPtr.Zero);
59
public virtual void Dispose() {
61
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
63
OgrPINVOKE.delete_Envelope3D(swigCPtr);
65
swigCPtr = new HandleRef(null, IntPtr.Zero);
67
GC.SuppressFinalize(this);
73
OgrPINVOKE.Envelope3D_MinX_set(swigCPtr, value);
74
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
77
double ret = OgrPINVOKE.Envelope3D_MinX_get(swigCPtr);
78
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
85
OgrPINVOKE.Envelope3D_MaxX_set(swigCPtr, value);
86
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
89
double ret = OgrPINVOKE.Envelope3D_MaxX_get(swigCPtr);
90
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
97
OgrPINVOKE.Envelope3D_MinY_set(swigCPtr, value);
98
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
101
double ret = OgrPINVOKE.Envelope3D_MinY_get(swigCPtr);
102
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
109
OgrPINVOKE.Envelope3D_MaxY_set(swigCPtr, value);
110
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
113
double ret = OgrPINVOKE.Envelope3D_MaxY_get(swigCPtr);
114
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
121
OgrPINVOKE.Envelope3D_MinZ_set(swigCPtr, value);
122
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
125
double ret = OgrPINVOKE.Envelope3D_MinZ_get(swigCPtr);
126
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
133
OgrPINVOKE.Envelope3D_MaxZ_set(swigCPtr, value);
134
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
137
double ret = OgrPINVOKE.Envelope3D_MaxZ_get(swigCPtr);
138
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
143
public Envelope3D() : this(OgrPINVOKE.new_Envelope3D(), true, null) {
144
if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();