Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgAssocRegion3d.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDgAssocRegion3d(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgAssocRegion3d_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgAssocRegion3d obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
46 return ret;
47 }
48
49 public override byte getElementSubType() {
50// test csout
51 /*SIMPLETYPE*/
54 return ret;
55 }
56
57 public static OdDgAssocRegion3d cast(OdRxObject pObj) {// OdSmartPtr<OdDgAssocRegion3d>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgAssocRegion3d ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, true));
66 ret = (OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, true);
71 }
72
74 return ret;
75}
76
77 public new static OdRxClass desc() {
78 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgAssocRegion3d_desc(),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public override OdRxClass isA() {
85 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgAssocRegion3d_isA(swigCPtr),false); /*createInt 3_2*/
86
88 return ret;
89}
90
91 public override OdRxObject queryX(OdRxClass protocolClass) {
92 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgAssocRegion3d_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgAssocRegion3d createObject() {// OdSmartPtr<OdDgAssocRegion3d>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgAssocRegion3d ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, true));
107 ret = (OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgAssocRegion3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocRegion3d),ptr, true);
112 }
113
115 return ret;
116}
117
118 public override void setName(String name) {
121 }
122
126 return ret;
127 }
128
129 public virtual void setRegionType(OdDgAssocRegionType uType) {
130 TG_DbPINVOKE.OdDgAssocRegion3d_setRegionType(swigCPtr, (int)uType);
132 }
133
137 return ret;
138 }
139
143 }
144
145 public virtual bool getLocateInteriorTextsFlag() {
148 return ret;
149 }
150
151 public virtual void setLocateInteriorTextsFlag(bool bSet) {
154 }
155
156 public virtual double getFillModeMaxGap() {
159 return ret;
160 }
161
162 public virtual void setFillModeMaxGap(double dGap) {
165 }
166
168// csout array
170
172 return res;
173}
174
175 public virtual void setSeedPoints(OdGePoint3dArray arrSeedPts) {
178 }
179
181// csout array
183
185 return res;
186}
187
188 public virtual void setDependedElements(OdDgElementIdArray arrDependedElements) {
191 }
192
193 public virtual double getTextMargins() {
194 double ret = TG_DbPINVOKE.OdDgAssocRegion3d_getTextMargins(swigCPtr);
196 return ret;
197 }
198
199 public virtual void setTextMargins(double dMargins) {
202 }
203
204 public virtual bool recalculate() {
205 bool ret = TG_DbPINVOKE.OdDgAssocRegion3d_recalculate(swigCPtr);
207 return ret;
208 }
209
210 public override bool subWorldDraw(OdGiWorldDraw pWd) {
213 return ret;
214 }
215
216 public override OdResult subGetGeomExtents(OdGeExtents3d extents) {
219 return ret;
220 }
221
222 public override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents) {
225 return ret;
226 }
227
228 public override OdResult subExplode(OdRxObjectPtrArray entitySet) {
231 return ret;
232 }
233
234 public override OdRxObject clone() {// OdRxObjectPtr
235 MemoryManager mMan = MemoryManager.GetMemoryManager();
236 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
237 IntPtr ptr = TG_DbPINVOKE.OdDgAssocRegion3d_clone(swigCPtr);
238
239 OdRxObject ret = null;
240 if (null != mTrans)
241 {
242 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
243 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
244 }
245 else
246 {
247 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
248 }
249
251 return ret;
252}
253
254 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
255 string ret = TG_DbPINVOKE.OdDgAssocRegion3d_getRealClassName(ptr /*SIMPLETYPE*/);
257 return ret;
258 }
259
264 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
265
271
272}
273
274}
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
virtual void setRegionType(OdDgAssocRegionType uType)
static OdDgAssocRegion3d cast(OdRxObject pObj)
override OdResult subGetGeomExtents(OdGeExtents3d extents)
virtual bool getLocateInteriorTextsFlag()
override bool subWorldDraw(OdGiWorldDraw pWd)
static HandleRef getCPtr(OdDgAssocRegion3d obj)
virtual void setSeedPoints(OdGePoint3dArray arrSeedPts)
virtual OdGePoint3dArray getSeedPoints()
override OdRxClass isA()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static new OdDgAssocRegion3d createObject()
virtual void setFillModeMaxGap(double dGap)
virtual OdDgAssocRegionFillModeInteriorShapes getFillModeInteriorShapes()
override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
override OdResult subExplode(OdRxObjectPtrArray entitySet)
override OdRxObject queryX(OdRxClass protocolClass)
override OdDgElement.ElementTypes getElementType()
virtual void setLocateInteriorTextsFlag(bool bSet)
static new OdRxClass desc()
override OdRxObject clone()
static string getRealClassName(IntPtr ptr)
virtual double getFillModeMaxGap()
virtual OdDgElementIdArray getDependedElements()
override void Dispose(bool disposing)
OdDgAssocRegion3d(IntPtr cPtr, bool cMemoryOwn)
virtual void setDependedElements(OdDgElementIdArray arrDependedElements)
override void setName(String name)
virtual void setTextMargins(double dMargins)
virtual void setFillModeInteriorShapes(OdDgAssocRegionFillModeInteriorShapes uType)
virtual OdDgAssocRegionType getRegionType()
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static HandleRef getCPtr(OdDgElementIdArray obj)
static HandleRef getCPtr(OdDgElementId obj)
static global::System.Exception Retrieve()
static void OdDgAssocRegion3d_setFillModeInteriorShapes(HandleRef jarg1, int jarg2)
static void OdDgAssocRegion3d_setTextMargins(HandleRef jarg1, double jarg2)
static bool OdDgAssocRegion3d_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDgAssocRegion3d_getElementType(HandleRef jarg1)
static bool OdDgAssocRegion3d_getLocateInteriorTextsFlag(HandleRef jarg1)
static double OdDgAssocRegion3d_getTextMargins(HandleRef jarg1)
static void OdDgAssocRegion3d_setFillModeMaxGap(HandleRef jarg1, double jarg2)
static void OdDgAssocRegion3d_setSeedPoints(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgAssocRegion3d_subGetGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgAssocRegion3d_setLocateInteriorTextsFlag(HandleRef jarg1, bool jarg2)
static void OdDgAssocRegion3d_setDependedElements(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgAssocRegion3d_getRegionType(HandleRef jarg1)
static global::System.IntPtr OdDgAssocRegion3d_getDependedElements(HandleRef jarg1)
static void delete_OdDgAssocRegion3d(HandleRef jarg1)
static void OdDgAssocRegion3d_setName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static double OdDgAssocRegion3d_getFillModeMaxGap(HandleRef jarg1)
static byte OdDgAssocRegion3d_getElementSubType(HandleRef jarg1)
static int OdDgAssocRegion3d_subGetGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgAssocRegion3d_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgAssocRegion3d_clone(HandleRef jarg1)
static int OdDgAssocRegion3d_getFillModeInteriorShapes(HandleRef jarg1)
static IntPtr OdDgAssocRegion3d_desc()
static global::System.IntPtr OdDgAssocRegion3d_getSeedPoints(HandleRef jarg1)
static IntPtr OdDgAssocRegion3d_createObject()
static bool OdDgAssocRegion3d_recalculate(HandleRef jarg1)
static IntPtr OdDgAssocRegion3d_cast(HandleRef jarg1)
static IntPtr OdDgAssocRegion3d_isA(HandleRef jarg1)
static IntPtr OdDgAssocRegion3d_queryX(HandleRef jarg1, HandleRef jarg2)
static string OdDgAssocRegion3d_getRealClassName(IntPtr jarg1)
static void OdDgAssocRegion3d_setRegionType(HandleRef jarg1, int jarg2)