Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbViewBorder.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbViewBorder : OdDbEntity {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbViewBorder(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbViewBorder_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbViewBorder 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
43 public static OdDbViewBorder cast(OdRxObject pObj) {// OdSmartPtr<OdDbViewBorder>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbViewBorder ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, true));
52 ret = (OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbViewBorder_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbViewBorder_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbViewBorder_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbViewBorder createObject() {// OdSmartPtr<OdDbViewBorder>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbViewBorder ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, true));
93 ret = (OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbViewBorder)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbViewBorder),ptr, true);
98 }
99
101 return ret;
102}
103
107 return ret;
108 }
109
110 public double height() {
111 double ret = TD_DbPINVOKE.OdDbViewBorder_height(swigCPtr);
113 return ret;
114 }
115
116 public double width() {
117 double ret = TD_DbPINVOKE.OdDbViewBorder_width(swigCPtr);
119 return ret;
120 }
121
125 return ret;
126 }
127
131 return ret;
132}
133
137 return ret;
138 }
139
140 public double rotationAngle() {
141 double ret = TD_DbPINVOKE.OdDbViewBorder_rotationAngle(swigCPtr);
143 return ret;
144 }
145
149 return ret;
150 }
151
152 public double scale() {
153 double ret = TD_DbPINVOKE.OdDbViewBorder_scale(swigCPtr);
155 return ret;
156 }
157
158 public UInt32 shadedDPI() {
159// test csout
160 /*SIMPLETYPE*/
161 UInt32 ret = TD_DbPINVOKE.OdDbViewBorder_shadedDPI(swigCPtr);
163 return ret;
164 }
165
167 MemoryManager mMan = MemoryManager.GetMemoryManager();
168 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
169 IntPtr ptr = TD_DbPINVOKE.OdDbViewBorder_viewportId(swigCPtr);
170
171 OdDbObjectId ret = null;
172 if (null != mTrans)
173 {
174 mTrans.AddObject(new OdDbObjectId(ptr, true));
175 ret = new OdDbObjectId(ptr, false);
176 }
177 else
178 {
179 ret = new OdDbObjectId(ptr, true);
180 }
181
183 return ret;
184}
185
189 return ret;
190 }
191
193 MemoryManager mMan = MemoryManager.GetMemoryManager();
194 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
195 IntPtr ptr = TD_DbPINVOKE.OdDbViewBorder_lookupViewRepId(swigCPtr);
196
197 OdDbObjectId ret = null;
198 if (null != mTrans)
199 {
200 mTrans.AddObject(new OdDbObjectId(ptr, true));
201 ret = new OdDbObjectId(ptr, false);
202 }
203 else
204 {
205 ret = new OdDbObjectId(ptr, true);
206 }
207
209 return ret;
210}
211
212 public virtual new OdResult subTransformBy(OdGeMatrix3d xform) {
215 return ret;
216 }
217
218 public OdGePoint2d centerPoint(bool exludeSketchEnts) {
219 OdGePoint2d ret = new OdGePoint2d(TD_DbPINVOKE.OdDbViewBorder_centerPoint__SWIG_0(swigCPtr, exludeSketchEnts), true);
221 return ret;
222 }
223
227 return ret;
228 }
229
230 public OdGePoint3d centerPoint3d(bool exludeSketchEnts) {
231 OdGePoint3d ret = new OdGePoint3d(TD_DbPINVOKE.OdDbViewBorder_centerPoint3d__SWIG_0(swigCPtr, exludeSketchEnts), true);
233 return ret;
234 }
235
239 return ret;
240 }
241
245 return ret;
246 }
247
251 return ret;
252 }
253
254 public void setScale(double newScale) {
255 TD_DbPINVOKE.OdDbViewBorder_setScale(swigCPtr, newScale);
257 }
258
259 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
260 string ret = TD_DbPINVOKE.OdDbViewBorder_getRealClassName(ptr /*SIMPLETYPE*/);
262 return ret;
263 }
264
270
275 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
276
282
287 public double vb_height() { return this.height(); }
288
294
299 public string vb_material() { return this.material(); }
300
305 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
306
311 public string vb_linetype() { return this.linetype(); }
312
318
323 public double vb_rotationAngle() { return this.rotationAngle(); }
324
330
331 public enum ViewStyleType {
332 kFromBase = 0,
337 }
338
339 public enum SourceType {
341 kInventorSource = 1,
342 kFusionSource = 2,
344 }
345
346}
347
348}
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
LineWeight lineWeight()
Definition: OdDbEntity.cs:556
virtual CollisionType collisionType()
Definition: OdDbEntity.cs:596
virtual void gripStatus(GripStat status)
Definition: OdDbEntity.cs:935
Visibility visibility()
Definition: OdDbEntity.cs:527
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdDbViewBorder obj)
OdDbViewBorder(IntPtr cPtr, bool cMemoryOwn)
Teigha.TD.OdDbViewBorder.ViewStyleType vb_viewStyleType()
OdDbObjectId lookupViewRepId()
OdResult setViewportId(OdDbObjectId viewportId)
static OdDbViewBorder cast(OdRxObject pObj)
void setScale(double newScale)
override OdRxClass isA()
virtual Teigha.TD.CollisionType vb_collisionType()
OdGePoint2d centerPoint(bool exludeSketchEnts)
static new OdDbViewBorder createObject()
virtual new OdResult subTransformBy(OdGeMatrix3d xform)
static new OdRxClass desc()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
OdGePoint3d centerPoint3d(bool exludeSketchEnts)
Teigha.TD.OdDbViewBorder.SourceType vb_sourceType()
override void Dispose(bool disposing)
OdGePoint3d insertionPoint()
OdDbViewBorder.SourceType sourceType()
OdDbViewBorder.ViewStyleType viewStyleType()
override OdRxObject queryX(OdRxClass protocolClass)
Teigha.TD.Visibility vb_visibility()
OdResult setSize(OdGePoint3d minPt, OdGePoint3d maxPt)
Teigha.Core.LineWeight vb_lineWeight()
OdResult getSize(OdGePoint3d minPt, OdGePoint3d maxPt)
void vb_gripStatus(Teigha.Core.GripStat status)
static global::System.Exception Retrieve()
static int OdDbViewBorder_sourceType(HandleRef jarg1)
static double OdDbViewBorder_width(HandleRef jarg1)
static double OdDbViewBorder_height(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_centerPoint__SWIG_0(HandleRef jarg1, bool jarg2)
static IntPtr OdDbViewBorder_queryX(HandleRef jarg1, HandleRef jarg2)
static String OdDbViewBorder_inventorFileReference(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_centerPoint3d__SWIG_0(HandleRef jarg1, bool jarg2)
static bool OdDbViewBorder_isFirstAngleProjection(HandleRef jarg1)
static IntPtr OdDbViewBorder_isA(HandleRef jarg1)
static IntPtr OdDbViewBorder_cast(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_centerPoint3d__SWIG_1(HandleRef jarg1)
static int OdDbViewBorder_getSize(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbViewBorder_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbViewBorder_setScale(HandleRef jarg1, double jarg2)
static IntPtr OdDbViewBorder_createObject()
static global::System.IntPtr OdDbViewBorder_viewportId(HandleRef jarg1)
static IntPtr OdDbViewBorder_desc()
static int OdDbViewBorder_viewStyleType(HandleRef jarg1)
static double OdDbViewBorder_scale(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_centerPoint__SWIG_1(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_lookupViewRepId(HandleRef jarg1)
static double OdDbViewBorder_rotationAngle(HandleRef jarg1)
static string OdDbViewBorder_getRealClassName(IntPtr jarg1)
static int OdDbViewBorder_setSize(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdDbViewBorder(HandleRef jarg1)
static int OdDbViewBorder_setViewportId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbViewBorder_insertionPoint(HandleRef jarg1)
static UInt32 OdDbViewBorder_shadedDPI(HandleRef jarg1)