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 MemoryManager mMan = MemoryManager.GetMemoryManager();
106 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
125 MemoryManager mMan = MemoryManager.GetMemoryManager();
126 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
162IntPtr tmp_sName = Marshal.StringToCoTaskMemUni(sName);
163 IntPtr saved_sName = tmp_sName;
168if (tmp_sName != saved_sName) sName = Marshal.PtrToStringUni(tmp_sName);
301 MemoryManager mMan = MemoryManager.GetMemoryManager();
302 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
321 MemoryManager mMan = MemoryManager.GetMemoryManager();
322 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
438 IntPtr tmp_pCopy = pCopy ==
null ? IntPtr.Zero :
OdDbEntity.
getCPtr(pCopy).Handle;
439 IntPtr saved_pCopy = tmp_pCopy;
446if(tmp_pCopy == IntPtr.Zero) pCopy =
null;
447 if(tmp_pCopy != IntPtr.Zero && tmp_pCopy != saved_pCopy)
449 MemoryTransaction mTrans_pCopy = MemoryManager.GetMemoryManager().GetCurrentTransaction();
450 if(mTrans_pCopy !=
null)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiViewportDraw obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdCmColor obj)
static HandleRef getCPtr(OdDbDwgFiler obj)
static HandleRef getCPtr(OdDbDxfFiler obj)
virtual CollisionType collisionType()
static HandleRef getCPtr(OdDbEntity obj)
virtual void gripStatus(GripStat status)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
OdResult setThicknessDepth(double depth)
OdResult removeVertex(int nIndex)
OdResult setViewingDirection(OdGeVector3d dir)
OdResult setVertex(int nIndex, OdGePoint3d pt)
OdResult getVertex(int nIndex, OdGePoint3d pt)
void vb_gripStatus(Teigha.Core.GripStat status)
override void subViewportDraw(OdGiViewportDraw pVd)
override void Dispose(bool disposing)
virtual new OdResult subTransformBy(OdGeMatrix3d xform)
OdDbSectionSettings getSettings(OpenMode mode)
double vb_height(Teigha.TD.OdDbSection.Height nHeightType)
OdResult setTopPlane(double arg0)
virtual new OdResult subGetTransformedCopy(OdGeMatrix3d mat, ref OdDbEntity pCopy)
OdResult generateSectionGeometry(OdDbEntity pEnt, out OdDbEntityPtrArray intBoundaryEnts, out OdDbEntityPtrArray intFillEnts, out OdDbEntityPtrArray backgroundEnts, out OdDbEntityPtrArray foregroundEnts, out OdDbEntityPtrArray curveTangencyEnts, bool bIsSetProperties)
static new OdDbSection createObject()
double sectionPlaneOffset()
override bool subWorldDraw(OdGiWorldDraw pWd)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
void setName(String pszName)
OdResult setElevation(double arg0)
static OdDbSection createObject(OdGePoint3dArray pts, OdGeVector3d verticalDir, OdGeVector3d vecViewingDir)
OdResult createJog(OdGePoint3d ptOnSection)
void setIndicatorTransparency(int nTransparency)
OdResult addVertex(int nInsertAt, OdGePoint3d pt)
OdResult setSectionPlaneOffset(double offset)
bool isLiveSectionEnabled()
OdResult plane(OdGeVector3d uAxis, OdGeVector3d vAxis)
static new OdRxClass desc()
void enableLiveSection(bool bEnable)
OdCmColor indicatorFillColor()
static string getRealClassName(IntPtr ptr)
void setState(OdDbSection.State nState)
override void dwgOutFields(OdDbDwgFiler pFiler)
OdDbSection.State state()
Teigha.Core.LineWeight vb_lineWeight()
Teigha.TD.OdDbSection.State vb_state()
void getName(ref string sName)
override OdRxObject queryX(OdRxClass protocolClass)
Teigha.TD.Visibility vb_visibility()
void setIndicatorFillColor(OdCmColor color)
static OdDbSection cast(OdRxObject pObj)
OdResult setBottomPlane(double arg0)
OdResult setHeight(OdDbSection.Height nHeightType, double fHeight)
OdResult setIsSlice(bool bIsSlice)
static OdDbSection createObject(OdGePoint3dArray pts, OdGeVector3d verticalDir)
@ kHeightBelowSectionLine
@ kHeightAboveSectionLine
OdResult generateSectionGeometry(OdDbEntity pEnt, out OdDbEntityPtrArray intBoundaryEnts, out OdDbEntityPtrArray intFillEnts, out OdDbEntityPtrArray backgroundEnts, out OdDbEntityPtrArray foregroundEnts, out OdDbEntityPtrArray curveTangencyEnts)
OdGeVector3d viewingDirection()
override void dxfOutFields(OdDbDxfFiler pFiler)
OdDbObjectId getSettings()
OdResult setVerticalDirection(OdGeVector3d dir)
OdResult setVertices(OdGePoint3dArray pts)
OdGeVector3d verticalDirection()
void getVertices(OdGePoint3dArray pts)
int indicatorTransparency()
static HandleRef getCPtr(OdDbSection obj)
double height(OdDbSection.Height nHeightType)
override OdResult subGetClassID(IntPtr pClsid)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
virtual Teigha.TD.CollisionType vb_collisionType()
OdDbSection(IntPtr cPtr, bool cMemoryOwn)
static global::System.Exception Retrieve()
static IntPtr OdDbSection_cast(HandleRef jarg1)
static int OdDbSection_generateSectionGeometry__SWIG_0(HandleRef jarg1, HandleRef jarg2, out OdDbEntityPtrArray jarg3, out OdDbEntityPtrArray jarg4, out OdDbEntityPtrArray jarg5, out OdDbEntityPtrArray jarg6, out OdDbEntityPtrArray jarg7)
static global::System.IntPtr OdDbSection_getSettings__SWIG_0(HandleRef jarg1)
static int OdDbSection_setThicknessDepth(HandleRef jarg1, double jarg2)
static int OdDbSection_setVerticalDirection(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSection_setIndicatorTransparency(HandleRef jarg1, int jarg2)
static int OdDbSection_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static void OdDbSection_setName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDbSection_getName__SWIG_1(HandleRef jarg1, ref IntPtr jarg2)
static IntPtr OdDbSection_getSettings__SWIG_1(HandleRef jarg1, int jarg2)
static bool OdDbSection_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbSection_normal(HandleRef jarg1)
static IntPtr OdDbSection_queryX(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbSection_verticalDirection(HandleRef jarg1)
static IntPtr OdDbSection_createObject__SWIG_0()
static int OdDbSection_subGetTransformedCopy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static int OdDbSection_createJog(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSection_plane(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDbSection_isSlice(HandleRef jarg1)
static global::System.IntPtr OdDbSection_indicatorFillColor(HandleRef jarg1)
static void OdDbSection_subClose(HandleRef jarg1)
static int OdDbSection_setSectionPlaneOffset(HandleRef jarg1, double jarg2)
static int OdDbSection_setTopPlane(HandleRef jarg1, double jarg2)
static void OdDbSection_subViewportDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDbSection_setIsSlice(HandleRef jarg1, bool jarg2)
static void OdDbSection_getVertices(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSection_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbSection_viewingDirection(HandleRef jarg1)
static IntPtr OdDbSection_createObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSection_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbSection_isA(HandleRef jarg1)
static int OdDbSection_getVertex(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSection_setElevation(HandleRef jarg1, double jarg2)
static double OdDbSection_height(HandleRef jarg1, int jarg2)
static int OdDbSection_setViewingDirection(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSection_setState(HandleRef jarg1, int jarg2)
static bool OdDbSection_isLiveSectionEnabled(HandleRef jarg1)
static int OdDbSection_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbSection_elevation(HandleRef jarg1)
static IntPtr OdDbSection_desc()
static int OdDbSection_setBottomPlane(HandleRef jarg1, double jarg2)
static string OdDbSection_getRealClassName(IntPtr jarg1)
static int OdDbSection_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbSection_state(HandleRef jarg1)
static double OdDbSection_topPlane(HandleRef jarg1)
static double OdDbSection_bottomPlane(HandleRef jarg1)
static int OdDbSection_indicatorTransparency(HandleRef jarg1)
static void OdDbSection_setIndicatorFillColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSection_addVertex(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSection_createObject__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSection_enableLiveSection(HandleRef jarg1, bool jarg2)
static bool OdDbSection_hasJogs(HandleRef jarg1)
static int OdDbSection_generateSectionGeometry__SWIG_1(HandleRef jarg1, HandleRef jarg2, out OdDbEntityPtrArray jarg3, out OdDbEntityPtrArray jarg4, out OdDbEntityPtrArray jarg5, out OdDbEntityPtrArray jarg6, out OdDbEntityPtrArray jarg7, bool jarg8)
static void delete_OdDbSection(HandleRef jarg1)
static double OdDbSection_thicknessDepth(HandleRef jarg1)
static int OdDbSection_removeVertex(HandleRef jarg1, int jarg2)
static int OdDbSection_subGetClassID(HandleRef jarg1, IntPtr jarg2)
static int OdDbSection_setVertex(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdDbSection_sectionPlaneOffset(HandleRef jarg1)
static String OdDbSection_getName__SWIG_0(HandleRef jarg1)
static int OdDbSection_setVertices(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSection_numVertices(HandleRef jarg1)
static int OdDbSection_setHeight(HandleRef jarg1, int jarg2, double jarg3)