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);
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
262 IntPtr saved_spline = tmp_spline;
269if(tmp_spline == IntPtr.Zero) spline =
null;
270 if(tmp_spline != IntPtr.Zero && tmp_spline != saved_spline)
272 MemoryTransaction mTrans_spline = MemoryManager.GetMemoryManager().GetCurrentTransaction();
273 if(mTrans_spline !=
null)
342IntPtr p_pGeCurve = IntPtr.Zero;
348MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
349 if(mTrans_pGeCurve !=
null)
357IntPtr p_pGeCurve = IntPtr.Zero;
363MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
364 if(mTrans_pGeCurve !=
null)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGePlane obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdGiDgLinetypeModifiers obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdDgBSplineCurve3d obj)
virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve, OdGeTol tol)
virtual OdResult getStartParam(out double startParam)
override byte getElementSubType()
virtual void setLineStyleModifiers(OdGiDgLinetypeModifiers modifiers)
virtual OdResult getParamAtDist(double dist, out double param)
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve, bool extend)
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, out OdDgCurveElement3d pDgCurve)
static OdDgCurveElement3d cast(OdRxObject pObj)
virtual OdResult getPointAtDist(double dist, OdGePoint3d pointOnCurve)
virtual OdResult getOffsetCurvesGivenPlaneNormal(OdGeVector3d normal, double offsetDistance, OdRxObjectPtrArray offsetCurves)
virtual OdGiDgLinetypeModifiers getLineStyleModifiers()
virtual OdResult getStartPoint(OdGePoint3d startPoint)
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal, OdGeTol tol)
virtual OdResult getEndPoint(OdGePoint3d endPoint)
virtual OdResult extend(double param)
virtual OdResult getSecondDeriv(double param, OdGeVector3d secondDeriv)
virtual OdResult getSecondDeriv(OdGePoint3d pointOnCurve, OdGeVector3d secondDeriv)
virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve)
virtual OdResult getSplitCurves(OdGePoint3dArray points, OdRxObjectPtrArray curveSegments)
virtual OdResult getEndParam(out double endParam)
virtual OdResult getOffsetCurves(double offsetDistance, OdRxObjectPtrArray offsetCurves)
virtual bool isPeriodic()
override void Dispose(bool disposing)
virtual OdResult getOrthoProjectedCurve(OdGePlane projPlane, out OdDgCurveElement3d pProjCurve)
OdDgCurveElement3d(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult getParamAtPoint(OdGePoint3d pointOnCurve, out double param)
virtual void setLineStyleScale(double dScale)
virtual double getLineStyleScale()
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve, bool extend)
virtual OdResult getArea(out double area)
virtual OdResult getDistAtPoint(OdGePoint3d pointOnCurve, out double dist)
static new OdDgCurveElement3d createObject()
virtual OdResult getPointAtParam(double param, OdGePoint3d pointOnCurve)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdResult getDistAtParam(double param, out double dist)
virtual OdResult extend(bool extendStart, OdGePoint3d toPoint)
static string getRealClassName(IntPtr ptr)
override OdDgElement.ElementTypes getElementType()
virtual OdResult getSpline(ref OdDgBSplineCurve3d spline)
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve)
virtual OdResult reverseCurve()
virtual OdResult getProjectedCurve(OdGePlane projPlane, OdGeVector3d projDirection, out OdDgCurveElement3d pProjCurve)
static HandleRef getCPtr(OdDgCurveElement3d obj)
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, out OdDgCurveElement3d pDgCurve, OdGeVector3d normal)
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal)
static new OdRxClass desc()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, out OdDgCurveElement3d pDgCurve, OdGeVector3d normal, OdGeTol tol)
virtual OdResult getFirstDeriv(OdGePoint3d pointOnCurve, OdGeVector3d firstDeriv)
override void setGeometryModified(bool bSet)
virtual OdResult getSplitCurves(OdGeDoubleArray params_, OdRxObjectPtrArray curveSegments)
virtual OdResult getFirstDeriv(double param, OdGeVector3d firstDeriv)
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve)
virtual void gripStatus(OdDgElement.GripStat status)
static global::System.Exception Retrieve()
static int OdDgCurveElement3d_getDistAtParam(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDgCurveElement3d_getProjectedCurve(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out OdDgCurveElement3d jarg4)
static int OdDgCurveElement3d_getStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDgCurveElement3d_getLineStyleModifiers(HandleRef jarg1)
static int OdDgCurveElement3d_getElementType(HandleRef jarg1)
static IntPtr OdDgCurveElement3d_desc()
static int OdDgCurveElement3d_getSplitCurves__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getStartParam(HandleRef jarg1, out double jarg2)
static int OdDgCurveElement3d_getPointAtParam(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_extend__SWIG_0(HandleRef jarg1, double jarg2)
static IntPtr OdDgCurveElement3d_queryX(HandleRef jarg1, HandleRef jarg2)
static void delete_OdDgCurveElement3d(HandleRef jarg1)
static int OdDgCurveElement3d_getOdGeCurve__SWIG_0(HandleRef jarg1, out IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getOffsetCurvesGivenPlaneNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgCurveElement3d_getOffsetCurves(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getSecondDeriv__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getDistAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static int OdDgCurveElement3d_getOrthoProjectedCurve(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out OdDgCurveElement3d jarg3)
static string OdDgCurveElement3d_getRealClassName(IntPtr jarg1)
static int OdDgCurveElement3d_getFirstDeriv__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_setFromOdGeCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDgCurveElement3d_setLineStyleModifiers(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgCurveElement3d_isPeriodic(HandleRef jarg1)
static int OdDgCurveElement3d_setFromOdGeCurve__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static int OdDgCurveElement3d_setFromOdGeCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgCurveElement3d_getEndParam(HandleRef jarg1, out double jarg2)
static double OdDgCurveElement3d_getLineStyleScale(HandleRef jarg1)
static int OdDgCurveElement3d_getClosestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static int OdDgCurveElement3d_getFirstDeriv__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static byte OdDgCurveElement3d_getElementSubType(HandleRef jarg1)
static int OdDgCurveElement3d_createFromOdGeCurve__SWIG_1(HandleRef jarg1, out OdDgCurveElement3d jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_extend__SWIG_1(HandleRef jarg1, bool jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getSpline(HandleRef jarg1, ref IntPtr jarg2)
static int OdDgCurveElement3d_createFromOdGeCurve__SWIG_0(HandleRef jarg1, out OdDgCurveElement3d jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgCurveElement3d_getClosestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_reverseCurve(HandleRef jarg1)
static int OdDgCurveElement3d_getClosestPointTo__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgCurveElement3d_getParamAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static void OdDgCurveElement3d_setGeometryModified(HandleRef jarg1, bool jarg2)
static int OdDgCurveElement3d_createFromOdGeCurve__SWIG_2(HandleRef jarg1, out OdDgCurveElement3d jarg2)
static int OdDgCurveElement3d_getSecondDeriv__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDgCurveElement3d_setLineStyleScale(HandleRef jarg1, double jarg2)
static IntPtr OdDgCurveElement3d_cast(HandleRef jarg1)
static int OdDgCurveElement3d_getPointAtDist(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getParamAtDist(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDgCurveElement3d_getSplitCurves__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgCurveElement3d_getEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgCurveElement3d_isA(HandleRef jarg1)
static int OdDgCurveElement3d_getArea(HandleRef jarg1, out double jarg2)
static IntPtr OdDgCurveElement3d_createObject()
static int OdDgCurveElement3d_getClosestPointTo__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static bool OdDgCurveElement3d_isClosed(HandleRef jarg1)
static int OdDgCurveElement3d_getOdGeCurve__SWIG_1(HandleRef jarg1, out IntPtr jarg2)