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();
466IntPtr p_pGeCurve = IntPtr.Zero;
472MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
473 if(mTrans_pGeCurve !=
null)
481IntPtr p_pGeCurve = IntPtr.Zero;
487MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
488 if(mTrans_pGeCurve !=
null)
558 MemoryManager mMan = MemoryManager.GetMemoryManager();
559 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
static HandleRef getCPtr(OdGeVector3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiDrawableTraits obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
OdResult insertFitPointAt(Int32 fitPointIndex, OdGePoint3d point)
OdResult setNurbsData(UInt32 order, bool rational, bool closed, OdGePoint3dArray controlPoints, OdGeKnotVector knots, OdGeDoubleArray weights)
void setChordLenTangentsFlag(bool value)
bool getPolygonDisplayFlag()
virtual void setHoleFlag(bool bSet)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
bool getCurveDisplayFlag()
OdResult getFitData(OdGePoint3dArray fitPoints, out UInt32 uOrder, out bool tangentsExist, OdGeVector3d startTangent, OdGeVector3d endTangent, out bool bUniformKnots)
virtual OdResult setFromOdGeNurbCurve(OdGeNurbCurve3d geCurve, OdGeVector3d normal, OdGeTol tol, bool bKeepOpen)
OdResult getFitPointAt(UInt32 fitPointIndex, OdGePoint3d point)
OdResult removeControlPointAt(int index)
override OdResult reverseCurve()
override OdResult getPointAtParam(double param, OdGePoint3d pointOnCurve)
UInt32 numControlPoints()
bool getColinearTangentsFlag()
OdResult setFitData(OdGePoint3dArray fitPoints, OdGeVector3d startTangent, OdGeVector3d endTangent, bool bClosed)
OdResult setWeightAt(UInt32 weightIndex, double weight)
OdResult insertControlPointAt(double knotParam, OdGePoint3d ctrlPt, double weight)
override OdResult getOdGeCurve(out OdGeCurve3d pGeCurve)
override OdResult getStartParam(out double startParam)
override OdResult getOdGeCurve(out OdGeCurve3d pGeCurve, OdGeTol tol)
override OdRxObject queryX(OdRxClass protocolClass)
override OdResult getEndPoint(OdGePoint3d endPoint)
double weightAt(UInt32 weightIndex)
OdResult setFitPointAt(UInt32 fitPointIndex, OdGePoint3d point)
override bool isPeriodic()
virtual bool getClosedFlag()
bool getNaturalTangentsFlag()
OdResult insertKnot(double param)
override OdDgElement.ElementTypes getElementType()
void setNaturalTangentsFlag(bool value)
override OdResult getSecondDeriv(double param, OdGeVector3d secondDeriv)
override OdRxObject clone()
override void Dispose(bool disposing)
OdGeKnotVector getKnots()
virtual OdResult setFromOdGeNurbCurve(OdGeNurbCurve3d geCurve, OdGeVector3d normal, OdGeTol tol)
void setColinearTangentsFlag(bool value)
virtual OdResult setFromOdGeNurbCurve(OdGeNurbCurve3d geCurve, OdGeVector3d normal)
override UInt32 subSetAttributes(OdGiDrawableTraits pDrwTraits)
override byte getElementSubType()
void setPolygonDisplayFlag(bool value)
override OdResult getParamAtPoint(OdGePoint3d pointOnCurve, out double param)
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve)
override OdResult subGetGeomExtents(OdGeExtents3d extents)
OdResult setFitData(OdGePoint3dArray fitPoints, OdGeVector3d startTangent, OdGeVector3d endTangent, bool bClosed, bool bUniformKnots)
virtual OdResult setClosedFlag(bool bSet)
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal, OdGeTol tol)
bool getChordLenTangentsFlag()
OdResult getFitData(OdGePoint3dArray fitPoints, out UInt32 uOrder, out bool tangentsExist, OdGeVector3d startTangent, OdGeVector3d endTangent)
static new OdDgBSplineCurve3d createObject()
override OdResult getSplitCurves(OdGeDoubleArray params_, OdRxObjectPtrArray entitySet)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
OdDgBSplineCurve3d(IntPtr cPtr, bool cMemoryOwn)
override OdResult getDistAtParam(double param, out double dist)
static string getRealClassName(IntPtr ptr)
OdResult getControlPointAt(UInt32 controlPointIndex, OdGePoint3d point)
override OdResult getEndParam(out double endParam)
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal)
OdResult setFitTangents(OdGeVector3d startTangent, OdGeVector3d endTangent)
void generateGeCurve(OdGeNurbCurve3d destination)
override OdResult getStartPoint(OdGePoint3d startPoint)
OdResult setControlPointAt(UInt32 controlPointIndex, OdGePoint3d point)
static HandleRef getCPtr(OdDgBSplineCurve3d obj)
override bool subWorldDraw(OdGiWorldDraw pWd)
OdResult getFitTangents(OdGeVector3d startTangent, OdGeVector3d endTangent)
static new OdRxClass desc()
OdResult removeFitPointAt(UInt32 fitPointIndex)
override OdResult getParamAtDist(double dist, out double param)
OdResult insertControlPointAt(double knotParam, OdGePoint3d ctrlPt)
virtual bool getHoleFlag()
virtual OdResult setFromOdGeNurbCurve(OdGeNurbCurve3d geCurve)
static OdDgBSplineCurve3d cast(OdRxObject pObj)
override OdResult getArea(out double area)
void setCurveDisplayFlag(bool value)
OdResult getNurbsData(out UInt32 order, out bool rational, out bool closed, OdGePoint3dArray controlPoints, OdGeKnotVector knots, OdGeDoubleArray weights)
override OdResult getFirstDeriv(double param, OdGeVector3d firstDeriv)
OdResult elevateOrder(UInt32 uNewOrder)
virtual void gripStatus(OdDgElement.GripStat status)
virtual void closed(OdDgElementId elementId)
static global::System.Exception Retrieve()
static int OdDgBSplineCurve3d_getSecondDeriv(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getPointAtParam(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 OdDgBSplineCurve3d_getOrder(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFromOdGeNurbCurve__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgBSplineCurve3d_isA(HandleRef jarg1)
static int OdDgBSplineCurve3d_getOdGeCurve__SWIG_1(HandleRef jarg1, out IntPtr jarg2)
static bool OdDgBSplineCurve3d_getPolygonDisplayFlag(HandleRef jarg1)
static IntPtr OdDgBSplineCurve3d_createObject()
static bool OdDgBSplineCurve3d_getColinearTangentsFlag(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFromOdGeCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_insertKnot(HandleRef jarg1, double jarg2)
static int OdDgBSplineCurve3d_setFromOdGeCurve__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static int OdDgBSplineCurve3d_setClosedFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineCurve3d_elevateOrder(HandleRef jarg1, UInt32 jarg2)
static string OdDgBSplineCurve3d_getRealClassName(IntPtr jarg1)
static int OdDgBSplineCurve3d_getFitTangents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdDgBSplineCurve3d_weightAt(HandleRef jarg1, UInt32 jarg2)
static UInt32 OdDgBSplineCurve3d_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static int OdDgBSplineCurve3d_getNurbsData(HandleRef jarg1, out UInt32 jarg2, out bool jarg3, out bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static bool OdDgBSplineCurve3d_getNaturalTangentsFlag(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFitTangents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getFirstDeriv(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDgBSplineCurve3d_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDgBSplineCurve3d_getStartParam(HandleRef jarg1, out double jarg2)
static UInt32 OdDgBSplineCurve3d_numFitPoints(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFromOdGeNurbCurve__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getFitData__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out UInt32 jarg3, out bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDgBSplineCurve3d_setFromOdGeCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDgBSplineCurve3d_setColinearTangentsFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineCurve3d_getStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgBSplineCurve3d_desc()
static int OdDgBSplineCurve3d_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdDgBSplineCurve3d_numControlPoints(HandleRef jarg1)
static int OdDgBSplineCurve3d_reverseCurve(HandleRef jarg1)
static void OdDgBSplineCurve3d_generateGeCurve(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineCurve3d_insertControlPointAt__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static bool OdDgBSplineCurve3d_isRational(HandleRef jarg1)
static bool OdDgBSplineCurve3d_getChordLenTangentsFlag(HandleRef jarg1)
static void OdDgBSplineCurve3d_purgeFitData(HandleRef jarg1)
static bool OdDgBSplineCurve3d_isClosed(HandleRef jarg1)
static IntPtr OdDgBSplineCurve3d_cast(HandleRef jarg1)
static int OdDgBSplineCurve3d_getSplitCurves(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_setNurbsData(HandleRef jarg1, UInt32 jarg2, bool jarg3, bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int OdDgBSplineCurve3d_getFitData__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out UInt32 jarg3, out bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, out bool jarg7)
static int OdDgBSplineCurve3d_getControlPointAt(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getDistAtParam(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDgBSplineCurve3d_insertFitPointAt(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDgBSplineCurve3d_queryX(HandleRef jarg1, HandleRef jarg2)
static bool OdDgBSplineCurve3d_isPeriodic(HandleRef jarg1)
static void OdDgBSplineCurve3d_setNaturalTangentsFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineCurve3d_getEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineCurve3d_removeFitPointAt(HandleRef jarg1, UInt32 jarg2)
static int OdDgBSplineCurve3d_getParamAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static int OdDgBSplineCurve3d_setFromOdGeNurbCurve__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgBSplineCurve3d_getEndParam(HandleRef jarg1, out double jarg2)
static int OdDgBSplineCurve3d_getElementType(HandleRef jarg1)
static bool OdDgBSplineCurve3d_hasFitData(HandleRef jarg1)
static bool OdDgBSplineCurve3d_getHoleFlag(HandleRef jarg1)
static int OdDgBSplineCurve3d_getOdGeCurve__SWIG_0(HandleRef jarg1, out IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getArea(HandleRef jarg1, out double jarg2)
static int OdDgBSplineCurve3d_setControlPointAt(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_insertControlPointAt__SWIG_1(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_setFitData__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5, bool jarg6)
static void OdDgBSplineCurve3d_setChordLenTangentsFlag(HandleRef jarg1, bool jarg2)
static void OdDgBSplineCurve3d_setCurveDisplayFlag(HandleRef jarg1, bool jarg2)
static bool OdDgBSplineCurve3d_isNull(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFitData__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int OdDgBSplineCurve3d_setWeightAt(HandleRef jarg1, UInt32 jarg2, double jarg3)
static void OdDgBSplineCurve3d_setPolygonDisplayFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineCurve3d_getParamAtDist(HandleRef jarg1, double jarg2, out double jarg3)
static bool OdDgBSplineCurve3d_getCurveDisplayFlag(HandleRef jarg1)
static void delete_OdDgBSplineCurve3d(HandleRef jarg1)
static void OdDgBSplineCurve3d_setHoleFlag(HandleRef jarg1, bool jarg2)
static byte OdDgBSplineCurve3d_getElementSubType(HandleRef jarg1)
static int OdDgBSplineCurve3d_removeControlPointAt(HandleRef jarg1, int jarg2)
static bool OdDgBSplineCurve3d_getClosedFlag(HandleRef jarg1)
static int OdDgBSplineCurve3d_setFromOdGeNurbCurve__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int OdDgBSplineCurve3d_setFitPointAt(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgBSplineCurve3d_getFitPointAt(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDgBSplineCurve3d_clone(HandleRef jarg1)
static global::System.IntPtr OdDgBSplineCurve3d_getKnots(HandleRef jarg1)