14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
106 IntPtr saved_pCoordSystem = tmp_pCoordSystem;
113if(tmp_pCoordSystem == IntPtr.Zero) pCoordSystem =
null;
114 if(tmp_pCoordSystem != IntPtr.Zero && tmp_pCoordSystem != saved_pCoordSystem)
116 MemoryTransaction mTrans_pCoordSystem = MemoryManager.GetMemoryManager().GetCurrentTransaction();
117 if(mTrans_pCoordSystem !=
null)
168 MemoryManager mMan = MemoryManager.GetMemoryManager();
169 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
188 MemoryManager mMan = MemoryManager.GetMemoryManager();
189 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
208 MemoryManager mMan = MemoryManager.GetMemoryManager();
209 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
228 MemoryManager mMan = MemoryManager.GetMemoryManager();
229 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
248 MemoryManager mMan = MemoryManager.GetMemoryManager();
249 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
268IntPtr tmp_strWkt = Marshal.StringToCoTaskMemUni(strWkt);
269 IntPtr saved_strWkt = tmp_strWkt;
275if (tmp_strWkt != saved_strWkt) strWkt = Marshal.PtrToStringUni(tmp_strWkt);
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdRxClass obj)
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDgGeoDataCoordinateSystemCategory obj)
static HandleRef getCPtr(OdDgGeoDataCoordinateSystem obj)
static HandleRef getCPtr(OdDgGeoDataCoordinateSystemPtrArray obj)
static HandleRef getCPtr(OdDgGeoDataDatum obj)
static HandleRef getCPtr(OdDgGeoDataEllipsoid obj)
static HandleRef getCPtr(OdDgGeoDataInfo obj)
virtual OdResult getGeoDataByName(String strName, ref OdDgGeoDataCoordinateSystem pCoordSystem, OdDgGeoDataDatum datum, OdDgGeoDataEllipsoid ellipsoid)
virtual OdResult createGeoPointFromCS(String strCSFrom, String strDatumNameTo, OdGePoint3d ptXYZPoint, OdGePoint3d ptResult)
virtual OdResult getGeoDataEllipsoidByName(String strDatumName, OdDgGeoDataEllipsoid ellipsoid)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdDgGeoDataPE obj)
static OdDgGeoDataPE cast(OdRxObject pObj)
static string getRealClassName(IntPtr ptr)
static OdDgGeoDataPE createObject()
virtual OdDgGeoDataReprojectionCoordinateTransformer createReprojectionTransformer(OdDgGeoDataInfo pGeoDataFrom, OdDgGeoDataInfo pGeoDataTo)
virtual OdResult createAll(OdDgGeoDataCoordinateSystemPtrArray allCoordSys)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdDgGeoDataCoordinateConverter createGeoDataCoordinateConvertor(OdDgGeoDataInfo pGeoData, OdDgModel pModel)
virtual OdResult transformGeoPointByDatum(String strDatumNameFrom, String strDatumNameTo, OdGePoint3d ptGeoPoint, OdGePoint3d ptResult)
static new OdRxClass desc()
OdDgGeoDataPE(IntPtr cPtr, bool cMemoryOwn)
virtual OdDgGeoDataReprojectionCoordinateTransformer createReprojectionTransformer(OdDgGeoDataInfo pGeoDataFrom, OdDgGeoDataInfo pGeoDataTo, double dModelScale, bool bReprojectEllevation)
virtual OdDgGeoDataCoordinateConverter createGeoDataCoordinateConvertor(OdDgGeoDataInfo pGeoData)
virtual OdResult createAll(OdGePoint3d geoPt, OdDgGeoDataCoordinateSystemPtrArray allCoordSys)
virtual OdResult getGeoDataDatumByName(String strDatumName, OdDgGeoDataDatum datum, OdDgGeoDataEllipsoid ellipsoid)
virtual OdDgGeoDataReprojectionCoordinateTransformer createReprojectionTransformer(OdDgGeoDataInfo pGeoDataFrom, OdDgGeoDataInfo pGeoDataTo, double dModelScale)
virtual OdResult getWktRepresentation(OdDgGeoDataInfo pGeoData, ref string strWkt)
virtual OdResult createAll(OdDgGeoDataCoordinateSystemPtrArray allCoordSys, OdDgGeoDataCoordinateSystemCategory pCategory)
static HandleRef getCPtr(OdDgModel obj)
static global::System.Exception Retrieve()
static int OdDgGeoDataPE_transformGeoPointByDatum(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdDgGeoDataPE_getGeoDataByName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, ref IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static IntPtr OdDgGeoDataPE_createGeoDataCoordinateConvertor__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static int OdDgGeoDataPE_createGeoPointFromCS(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static string OdDgGeoDataPE_getRealClassName(IntPtr jarg1)
static int OdDgGeoDataPE_getWktRepresentation(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static IntPtr OdDgGeoDataPE_createReprojectionTransformer__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, double jarg4, bool jarg5)
static IntPtr OdDgGeoDataPE_createReprojectionTransformer__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static IntPtr OdDgGeoDataPE_isA(HandleRef jarg1)
static void delete_OdDgGeoDataPE(HandleRef jarg1)
static int OdDgGeoDataPE_getGeoDataEllipsoidByName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDgGeoDataPE_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgGeoDataPE_createGeoDataCoordinateConvertor__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgGeoDataPE_desc()
static int OdDgGeoDataPE_createAll__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3)
static int OdDgGeoDataPE_getGeoDataDatumByName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgGeoDataPE_createAll__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgGeoDataPE_createObject()
static IntPtr OdDgGeoDataPE_createReprojectionTransformer__SWIG_1(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, double jarg4)
static IntPtr OdDgGeoDataPE_cast(HandleRef jarg1)
static int OdDgGeoDataPE_createAll__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)