14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
117 IntPtr saved_pGeodeticPathDefinition = tmp_pGeodeticPathDefinition;
124if(tmp_pGeodeticPathDefinition == IntPtr.Zero) pGeodeticPathDefinition =
null;
125 if(tmp_pGeodeticPathDefinition != IntPtr.Zero && tmp_pGeodeticPathDefinition != saved_pGeodeticPathDefinition)
127 MemoryTransaction mTrans_pGeodeticPathDefinition = MemoryManager.GetMemoryManager().GetCurrentTransaction();
128 if(mTrans_pGeodeticPathDefinition !=
null)
138 IntPtr saved_pGeodeticTransformationDefinition = tmp_pGeodeticTransformationDefinition;
145if(tmp_pGeodeticTransformationDefinition == IntPtr.Zero) pGeodeticTransformationDefinition =
null;
146 if(tmp_pGeodeticTransformationDefinition != IntPtr.Zero && tmp_pGeodeticTransformationDefinition != saved_pGeodeticTransformationDefinition)
148 MemoryTransaction mTrans_pGeodeticTransformationDefinition = MemoryManager.GetMemoryManager().GetCurrentTransaction();
149 if(mTrans_pGeodeticTransformationDefinition !=
null)
170 IntPtr tmp_pDatumShift = pDatumShift ==
null ? IntPtr.Zero :
OdDatumShift.
getCPtr(pDatumShift).Handle;
171 IntPtr saved_pDatumShift = tmp_pDatumShift;
178if(tmp_pDatumShift == IntPtr.Zero) pDatumShift =
null;
179 if(tmp_pDatumShift != IntPtr.Zero && tmp_pDatumShift != saved_pDatumShift)
181 MemoryTransaction mTrans_pDatumShift = MemoryManager.GetMemoryManager().GetCurrentTransaction();
182 if(mTrans_pDatumShift !=
null)
static global::System.Exception Retrieve()
static bool OdDatumShift_isNullTransformation(HandleRef jarg1)
static int OdDatumShift_getCount(HandleRef jarg1, out UInt32 jarg2)
static IntPtr OdDatumShift_createObject()
static IntPtr OdDatumShift_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDatumShift_isA(HandleRef jarg1)
static int OdDatumShift_getPath(HandleRef jarg1, ref IntPtr jarg2)
static string OdDatumShift_getRealClassName(IntPtr jarg1)
static void delete_OdDatumShift(HandleRef jarg1)
static int OdDatumShift_convert(HandleRef jarg1, out double jarg2, out double jarg3)
static IntPtr OdDatumShift_desc()
static int OdDatumShift_getDatumShift(HandleRef jarg1, bool jarg2, ref IntPtr jarg3)
static int OdDatumShift_getAt(HandleRef jarg1, UInt32 jarg2, out bool jarg3, ref IntPtr jarg4)
static IntPtr OdDatumShift_cast(HandleRef jarg1)
static int OdDatumShift_convert3D(HandleRef jarg1, out double jarg2, out double jarg3, out double jarg4)
override OdRxObject queryX(OdRxClass protocolClass)
OdResult getPath(ref OdGeodeticPathDefinition pGeodeticPathDefinition)
static new OdRxClass desc()
static OdDatumShift createObject()
OdResult getAt(UInt32 uIndex, out bool bIsInversed, ref OdGeodeticTransformationDefinition pGeodeticTransformationDefinition)
bool isNullTransformation()
OdResult convert(out double dLon, out double dLat)
static HandleRef getCPtr(OdDatumShift obj)
override void Dispose(bool disposing)
OdResult getCount(out UInt32 uCount)
static string getRealClassName(IntPtr ptr)
static OdDatumShift cast(OdRxObject pObj)
static OdResult getDatumShift(OdGeodeticTransformationDefinition pGeodeticTransformationDefinition, bool bInverse, ref OdDatumShift pDatumShift)
OdDatumShift(IntPtr cPtr, bool cMemoryOwn)
OdResult convert3D(out double dLon, out double dLat, out double dHeight)
static HandleRef getCPtr(OdGeodeticPathDefinition obj)
static HandleRef getCPtr(OdRxClass obj)
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdRxObject obj)