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();
105 IntPtr tmp_pProjCurve = pProjCurve ==
null ? IntPtr.Zero :
OdDbCurve.
getCPtr(pProjCurve).Handle;
106 IntPtr saved_pProjCurve = tmp_pProjCurve;
113if(tmp_pProjCurve == IntPtr.Zero) pProjCurve =
null;
114 if(tmp_pProjCurve != IntPtr.Zero && tmp_pProjCurve != saved_pProjCurve)
116 MemoryTransaction mTrans_pProjCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
117 if(mTrans_pProjCurve !=
null)
126 IntPtr tmp_pProjCurve = pProjCurve ==
null ? IntPtr.Zero :
OdDbCurve.
getCPtr(pProjCurve).Handle;
127 IntPtr saved_pProjCurve = tmp_pProjCurve;
134if(tmp_pProjCurve == IntPtr.Zero) pProjCurve =
null;
135 if(tmp_pProjCurve != IntPtr.Zero && tmp_pProjCurve != saved_pProjCurve)
137 MemoryTransaction mTrans_pProjCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
138 if(mTrans_pProjCurve !=
null)
183 IntPtr tmp_spline = spline ==
null ? IntPtr.Zero :
OdDbSpline.
getCPtr(spline).Handle;
184 IntPtr saved_spline = tmp_spline;
191if(tmp_spline == IntPtr.Zero) spline =
null;
192 if(tmp_spline != IntPtr.Zero && tmp_spline != saved_spline)
194 MemoryTransaction mTrans_spline = MemoryManager.GetMemoryManager().GetCurrentTransaction();
195 if(mTrans_spline !=
null)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGePlane obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdDbCurve obj)
static HandleRef getCPtr(OdDbCurvePE obj)
virtual OdResult getClosestPointTo(OdDbCurve pCurve, OdGePoint3d givenPoint, OdGePoint3d pointOnCurve)
static OdDbCurvePE cast(OdRxObject pObj)
virtual OdResult getSplitCurves(OdDbCurve pCurve, OdGeDoubleArray params_, OdRxObjectPtrArray curveSegments)
virtual OdResult getClosestPointTo(OdDbCurve pCurve, OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve, bool extend)
static string getRealClassName(IntPtr ptr)
virtual OdResult getProjectedCurve(OdDbCurve pCurve, OdGePlane projPlane, OdGeVector3d projDirection, ref OdDbCurve pProjCurve)
virtual OdResult getSplitCurves(OdDbCurve pCurve, OdGePoint3dArray points, OdRxObjectPtrArray curveSegments)
virtual OdResult getOrthoProjectedCurve(OdDbCurve pCurve, OdGePlane projPlane, ref OdDbCurve pProjCurve)
override void Dispose(bool disposing)
virtual OdResult extend(OdDbCurve pCurve, bool extendStart, OdGePoint3d toPoint)
virtual OdResult getClosestPointTo(OdDbCurve pCurve, OdGePoint3d givenPoint, OdGePoint3d pointOnCurve, bool extend)
OdDbCurvePE(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult getOffsetCurves(OdDbCurve pCurve, double offsetDistance, OdRxObjectPtrArray offsetCurves)
virtual OdResult getOffsetCurvesGivenPlaneNormal(OdDbCurve pCurve, OdGeVector3d normal, double offsetDistance, OdRxObjectPtrArray offsetCurves)
virtual OdResult getSpline(OdDbCurve pCurve, ref OdDbSpline spline)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdResult extend(OdDbCurve pCurve, double param)
virtual OdResult getClosestPointTo(OdDbCurve pCurve, OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve)
static new OdRxClass desc()
static OdDbCurvePE createObject()
static HandleRef getCPtr(OdDbSpline obj)
static global::System.Exception Retrieve()
static IntPtr OdDbCurvePE_isA(HandleRef jarg1)
static string OdDbCurvePE_getRealClassName(IntPtr jarg1)
static IntPtr OdDbCurvePE_desc()
static int OdDbCurvePE_getProjectedCurve(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref IntPtr jarg5)
static int OdDbCurvePE_getSplitCurves__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbCurvePE_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDbCurvePE_getClosestPointTo__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdDbCurvePE_getOffsetCurvesGivenPlaneNormal(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdDbCurvePE_getOrthoProjectedCurve(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref IntPtr jarg4)
static int OdDbCurvePE_getOffsetCurves(HandleRef jarg1, HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbCurvePE_getClosestPointTo__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int OdDbCurvePE_getSplitCurves__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void delete_OdDbCurvePE(HandleRef jarg1)
static IntPtr OdDbCurvePE_createObject()
static int OdDbCurvePE_extend__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbCurvePE_cast(HandleRef jarg1)
static int OdDbCurvePE_getClosestPointTo__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, bool jarg6)
static int OdDbCurvePE_extend__SWIG_0(HandleRef jarg1, HandleRef jarg2, double jarg3)
static int OdDbCurvePE_getSpline(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static int OdDbCurvePE_getClosestPointTo__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)