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();
392 MemoryManager mMan = MemoryManager.GetMemoryManager();
393 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
465IntPtr p_pGeCurve = IntPtr.Zero;
471MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
472 if(mTrans_pGeCurve !=
null)
480IntPtr p_pGeCurve = IntPtr.Zero;
486MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
487 if(mTrans_pGeCurve !=
null)
521 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
522MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
523 if(mTrans_pCurve !=
null)
540 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
541MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
542 if(mTrans_pCurve !=
null)
559 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
560MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
561 if(mTrans_pCurve !=
null)
578 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
579MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
580 if(mTrans_pCurve !=
null)
588 public OdResult toPolyline(ref
OdDbCurve pCurve,
bool bConvertAsArcs,
bool bToLWPolyline,
int precision, Int32 maxSuggestedPrecision, uint numOfVerticesThreshold) {
597 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
598MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
599 if(mTrans_pCurve !=
null)
616 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
617MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
618 if(mTrans_pCurve !=
null)
635 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
636MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
637 if(mTrans_pCurve !=
null)
654 typeof(
OdDbCurve).GetField(
"swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pCurve,
false);
655MemoryTransaction mTrans_pCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
656 if(mTrans_pCurve !=
null)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeMatrix3d 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)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdDbCurve obj)
static HandleRef getCPtr(OdDbDwgFiler obj)
static HandleRef getCPtr(OdDbDxfFiler obj)
virtual CollisionType collisionType()
virtual void gripStatus(GripStat status)
static HandleRef getCPtr(OdDbObjectId obj)
Teigha.Core.LineWeight vb_lineWeight()
override void dwgOutFields(OdDbDwgFiler pFiler)
OdResult getFitTangents(OdGeVector3d startTangent, OdGeVector3d endTangent)
void setFitPointAt(int fitPointIndex, OdGePoint3d point)
override OdResult subGetClassID(IntPtr pClsid)
void setFitTangents(OdGeVector3d startTangent, OdGeVector3d endTangent)
static new OdDbSpline createObject()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static string getRealClassName(IntPtr ptr)
override OdResult reverseCurve()
void getNurbsData(out int degree, out bool rational, out bool closed, out bool periodic, OdGePoint3dArray controlPoints, OdGeKnotVector knots, OdGeDoubleArray weights, out double controlPtTol)
void setControlPointAt(int controlPointIndex, OdGePoint3d point)
override OdResult getEndPoint(OdGePoint3d endPoint)
OdResult insertControlPointAt(double knotParam, OdGePoint3d ctrlPt)
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal, OdGeTol tol)
OdResult toPolyline(ref OdDbCurve pCurve, bool bConvertAsArcs, bool bToLWPolyline, int precision, Int32 maxSuggestedPrecision)
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve)
OdResult toPolyline(ref OdDbCurve pCurve, bool bConvertAsArcs, bool bToLWPolyline, int precision)
override bool subWorldDraw(OdGiWorldDraw pWd)
void setFitTol(double fitTolerance)
override OdResult getStartParam(out double startParam)
virtual Teigha.TD.CollisionType vb_collisionType()
virtual new OdResult subGetGeomExtents(OdGeExtents3d extents)
OdResult toPolyline(ref OdDbCurve pCurve, int precision, Int32 maxSuggestedPrecision)
void insertKnot(double param)
override OdResult getStartPoint(OdGePoint3d startPoint)
override OdResult getParamAtDist(double dist, out double param)
bool modifyPositionAndTangent(double param, OdGePoint3d point, OdGeVector3d deriv)
OdResult toPolyline(ref OdDbCurve pCurve, int precision, Int32 maxSuggestedPrecision, uint numOfVerticesThreshold)
OdResult getFitPointAt(int fitPointIndex, OdGePoint3d point)
OdResult getFitData(OdGePoint3dArray fitPoints, out int degree, out double fitTolerance, out bool tangentsExist, OdGeVector3d startTangent, OdGeVector3d endTangent, ref OdGe.OdGeKnotParameterization knotParam)
void removeFitPointAt(int fitPointIndex)
Teigha.TD.OdDbSpline.SplineType vb_type()
void getNurbsData(out int degree, out bool rational, out bool closed, out bool periodic, OdGePoint3dArray controlPoints, OdGeDoubleArray knots, OdGeDoubleArray weights, out double controlPtTol, out double knotTol)
override OdResult getSplitCurves(OdGeDoubleArray params_, OdRxObjectPtrArray entitySet)
override OdResult getOdGeCurve(out OdGeCurve3d pGeCurve, OdGeTol tol)
void vb_gripStatus(Teigha.Core.GripStat status)
override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData)
override OdResult getFirstDeriv(double param, OdGeVector3d firstDeriv)
OdResult toPolyline(ref OdDbCurve pCurve, bool bConvertAsArcs, bool bToLWPolyline)
override OdResult getOdGeCurve(out OdGeCurve3d pGeCurve)
override OdResult getParamAtPoint(OdGePoint3d pointOnCurve, out double param)
override OdResult getPlane(OdGePlane plane, out Planarity planarity)
override OdRxObject queryX(OdRxClass protocolClass)
OdResult getFitData(OdGePoint3dArray fitPoints, out int degree, out double fitTolerance, out bool tangentsExist, OdGeVector3d startTangent, OdGeVector3d endTangent)
OdResult insertControlPointAt(double knotParam, OdGePoint3d ctrlPt, double weight)
void setFitData(OdGePoint3dArray fitPoints, int degree, double fitTolerance, OdGeVector3d startTangent, OdGeVector3d endTangent)
void getControlPointAt(int controlPointIndex, OdGePoint3d point)
OdResult removeControlPointAt(int index)
void setNurbsData(int degree, bool rational, bool closed, bool periodic, OdGePoint3dArray controlPoints, OdGeDoubleArray knots, OdGeDoubleArray weights, double controlPtTol, double knotTol)
double weightAt(int weightIndex)
void setCvFrame(bool bVisible)
override OdResult getPointAtParam(double param, OdGePoint3d pointOnCurve)
override OdResult getArea(out double area)
OdDbSpline(IntPtr cPtr, bool cMemoryOwn)
void elevateDegree(int newDegree)
void setNurbsData(int degree, bool rational, bool closed, bool periodic, OdGePoint3dArray controlPoints, OdGeKnotVector knots, OdGeDoubleArray weights, double controlPtTol)
override OdResult getDistAtParam(double param, out double dist)
Teigha.TD.Visibility vb_visibility()
override OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal)
override void dxfOutFields(OdDbDxfFiler pFiler)
void insertFitPointAt(int fitPointIndex, OdGePoint3d point)
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
OdResult toPolyline(ref OdDbCurve pCurve)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
void setWeightAt(int weightIndex, double weight)
static new OdRxClass desc()
virtual new OdResult subTransformBy(OdGeMatrix3d xfm)
static HandleRef getCPtr(OdDbSpline obj)
OdResult toPolyline(ref OdDbCurve pCurve, bool bConvertAsArcs, bool bToLWPolyline, int precision, Int32 maxSuggestedPrecision, uint numOfVerticesThreshold)
void setFitData(OdGePoint3dArray fitPoints, int degree, double fitTolerance, OdGeVector3d startTangent, OdGeVector3d endTangent, OdGe.OdGeKnotParameterization knotParam)
override OdResult getEndParam(out double endParam)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
OdResult toPolyline(ref OdDbCurve pCurve, int precision)
override void Dispose(bool disposing)
OdResult setType(OdDbSpline.SplineType type)
static OdDbSpline cast(OdRxObject pObj)
override OdResult getSecondDeriv(double param, OdGeVector3d secondDeriv)
OdDbSpline.SplineType type()
static global::System.Exception Retrieve()
static int OdDbSpline_getFitData__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, out double jarg4, out bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int OdDbSpline_toPolyline__SWIG_7(HandleRef jarg1, ref IntPtr jarg2, bool jarg3, bool jarg4)
static void OdDbSpline_setControlPointAt(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSpline_getNurbsData__SWIG_0(HandleRef jarg1, out int jarg2, out bool jarg3, out bool jarg4, out bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, out double jarg9, out double jarg10)
static IntPtr OdDbSpline_cast(HandleRef jarg1)
static bool OdDbSpline_isNull(HandleRef jarg1)
static int OdDbSpline_insertControlPointAt__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static int OdDbSpline_getParamAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static void delete_OdDbSpline(HandleRef jarg1)
static void OdDbSpline_setFitData__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7)
static void OdDbSpline_setFitTol(HandleRef jarg1, double jarg2)
static void OdDbSpline_removeFitPointAt(HandleRef jarg1, int jarg2)
static int OdDbSpline_numFitPoints(HandleRef jarg1)
static bool OdDbSpline_isPlanar(HandleRef jarg1)
static int OdDbSpline_toPolyline__SWIG_2(HandleRef jarg1, ref IntPtr jarg2, int jarg3)
static int OdDbSpline_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbSpline_getPlane(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out Planarity jarg3)
static int OdDbSpline_getFitPointAt(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_numControlPoints(HandleRef jarg1)
static int OdDbSpline_removeControlPointAt(HandleRef jarg1, int jarg2)
static int OdDbSpline_getOdGeCurve__SWIG_0(HandleRef jarg1, out IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSpline_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static void OdDbSpline_insertKnot(HandleRef jarg1, double jarg2)
static void OdDbSpline_setNurbsData__SWIG_1(HandleRef jarg1, int jarg2, bool jarg3, bool jarg4, bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, double jarg9)
static string OdDbSpline_getRealClassName(IntPtr jarg1)
static int OdDbSpline_getStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSpline_getEndParam(HandleRef jarg1, out double jarg2)
static int OdDbSpline_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static bool OdDbSpline_modifyPositionAndTangent(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdDbSpline_weightAt(HandleRef jarg1, int jarg2)
static void OdDbSpline_setFitData__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdDbSpline_setNurbsData__SWIG_0(HandleRef jarg1, int jarg2, bool jarg3, bool jarg4, bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, double jarg9, double jarg10)
static int OdDbSpline_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSpline_toPolyline__SWIG_4(HandleRef jarg1, ref IntPtr jarg2, bool jarg3, bool jarg4, int jarg5, Int32 jarg6, uint jarg7)
static int OdDbSpline_getSplitCurves(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_getStartParam(HandleRef jarg1, out double jarg2)
static int OdDbSpline_degree(HandleRef jarg1)
static int OdDbSpline_getDistAtParam(HandleRef jarg1, double jarg2, out double jarg3)
static void OdDbSpline_setFitPointAt(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSpline_createObject()
static int OdDbSpline_getEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbSpline_desc()
static IntPtr OdDbSpline_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDbSpline_getPointAtParam(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_setFromOdGeCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_insertControlPointAt__SWIG_1(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_toPolyline__SWIG_0(HandleRef jarg1, ref IntPtr jarg2, int jarg3, Int32 jarg4, uint jarg5)
static bool OdDbSpline_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDbSpline_setType(HandleRef jarg1, int jarg2)
static int OdDbSpline_getFirstDeriv(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_setFromOdGeCurve__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static void OdDbSpline_elevateDegree(HandleRef jarg1, int jarg2)
static int OdDbSpline_reverseCurve(HandleRef jarg1)
static int OdDbSpline_type(HandleRef jarg1)
static void OdDbSpline_setCvFrame(HandleRef jarg1, bool jarg2)
static double OdDbSpline_fitTolerance(HandleRef jarg1)
static int OdDbSpline_getSecondDeriv(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_toPolyline__SWIG_1(HandleRef jarg1, ref IntPtr jarg2, int jarg3, Int32 jarg4)
static int OdDbSpline_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSpline_subGetClassID(HandleRef jarg1, IntPtr jarg2)
static int OdDbSpline_getFitData__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, out double jarg4, out bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref OdGe.OdGeKnotParameterization jarg8)
static bool OdDbSpline_isRational(HandleRef jarg1)
static int OdDbSpline_toPolyline__SWIG_3(HandleRef jarg1, ref IntPtr jarg2)
static void OdDbSpline_setWeightAt(HandleRef jarg1, int jarg2, double jarg3)
static int OdDbSpline_toPolyline__SWIG_6(HandleRef jarg1, ref IntPtr jarg2, bool jarg3, bool jarg4, int jarg5)
static IntPtr OdDbSpline_decomposeForSave(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4)
static int OdDbSpline_setFromOdGeCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbSpline_getFitTangents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSpline_insertFitPointAt(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDbSpline_hasFitData(HandleRef jarg1)
static void OdDbSpline_getNurbsData__SWIG_1(HandleRef jarg1, out int jarg2, out bool jarg3, out bool jarg4, out bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, out double jarg9)
static bool OdDbSpline_cvFrame(HandleRef jarg1)
static void OdDbSpline_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static void OdDbSpline_setFitTangents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSpline_getOdGeCurve__SWIG_1(HandleRef jarg1, out IntPtr jarg2)
static int OdDbSpline_getArea(HandleRef jarg1, out double jarg2)
static void OdDbSpline_getControlPointAt(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSpline_isA(HandleRef jarg1)
static void OdDbSpline_purgeFitData(HandleRef jarg1)
static int OdDbSpline_toPolyline__SWIG_5(HandleRef jarg1, ref IntPtr jarg2, bool jarg3, bool jarg4, int jarg5, Int32 jarg6)
static int OdDbSpline_getParamAtDist(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDbSpline_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)