Extended .NET SDK Documentation 2025 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
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
127
133
139
140 public double rotationAngle() {
141 double ret = TD_DbPINVOKE.OdDbViewBorder_rotationAngle(swigCPtr);
143 return ret;
144 }
145
150
156
157 public double scale() {
158 double ret = TD_DbPINVOKE.OdDbViewBorder_scale(swigCPtr);
160 return ret;
161 }
162
163 public UInt32 shadedDPI() {
164// test csout
165 /*SIMPLETYPE*/
166 UInt32 ret = TD_DbPINVOKE.OdDbViewBorder_shadedDPI(swigCPtr);
168 return ret;
169 }
170
176
182
188
194
195 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray entAndInsertStack) {
196 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbViewBorder_subGetSubentPathsAtGsMarker__SWIG_0(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths), OdDbObjectIdArray.getCPtr(entAndInsertStack));
198 return ret;
199 }
200
201 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths) {
202 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbViewBorder_subGetSubentPathsAtGsMarker__SWIG_1(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths));
204 return ret;
205 }
206
212
213 public OdGePoint2d centerPoint(bool exludeSketchEnts) {
214 OdGePoint2d ret = new OdGePoint2d(TD_DbPINVOKE.OdDbViewBorder_centerPoint__SWIG_0(swigCPtr, exludeSketchEnts), true);
216 return ret;
217 }
218
224
225 public OdGePoint3d centerPoint3d(bool exludeSketchEnts) {
226 OdGePoint3d ret = new OdGePoint3d(TD_DbPINVOKE.OdDbViewBorder_centerPoint3d__SWIG_0(swigCPtr, exludeSketchEnts), true);
228 return ret;
229 }
230
236
242
248
254
255 public void setScale(double newScale) {
256 TD_DbPINVOKE.OdDbViewBorder_setScale(swigCPtr, newScale);
258 }
259
265
270
271 protected static string getRealClassName(IntPtr ptr) {
272 string ret = TD_DbPINVOKE.OdDbViewBorder_getRealClassName(ptr /*SIMPLETYPE*/);
274 return ret;
275 }
276
282
287 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
288
294
299 public double vb_height() { return this.height(); }
300
306
311 public string vb_material() { return this.material(); }
312
317 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
318
323 public string vb_linetype() { return this.linetype(); }
324
330
335 public double vb_rotationAngle() { return this.rotationAngle(); }
336
342
343 public enum ViewStyleType {
344 kFromBase = 0,
349 }
350
351 public enum SourceType {
353 kInventorSource = 1,
354 kFusionSource = 2,
356 }
357
358}
359
360}
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGsMarkerArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
LineWeight lineWeight()
virtual CollisionType collisionType()
virtual void gripStatus(GripStat status)
Visibility visibility()
static HandleRef getCPtr(OdDbFullSubentPathArray obj)
static HandleRef getCPtr(OdDbFullSubentPath obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
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)
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths)
override OdRxClass isA()
virtual Teigha.TD.CollisionType vb_collisionType()
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray entAndInsertStack)
OdGePoint2d centerPoint(bool exludeSketchEnts)
static new OdDbViewBorder createObject()
virtual new OdResult subTransformBy(OdGeMatrix3d xform)
static new OdRxClass desc()
OdResult setSize(OdGePoint2d minPt, OdGePoint2d maxPt)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
OdGePoint3d centerPoint3d(bool exludeSketchEnts)
Teigha.TD.OdDbViewBorder.SourceType vb_sourceType()
override void Dispose(bool disposing)
OdDbViewBorder.SourceType sourceType()
void setRotationAngle(double angle)
OdDbViewBorder.ViewStyleType viewStyleType()
virtual new OdResult subGetGsMarkersAtSubentPath(OdDbFullSubentPath subPath, OdGsMarkerArray gsMarkers)
override OdRxObject queryX(OdRxClass protocolClass)
Teigha.TD.Visibility vb_visibility()
OdResult setSize(OdGePoint3d minPt, OdGePoint3d maxPt)
Teigha.Core.LineWeight vb_lineWeight()
void setScaleId(OdDbObjectId scaleId)
OdResult getSize(OdGePoint3d minPt, OdGePoint3d maxPt)
void vb_gripStatus(Teigha.Core.GripStat status)
static global::System.Exception Retrieve()
static int OdDbViewBorder_subGetGsMarkersAtSubentPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 void OdDbViewBorder_setRotationAngle(HandleRef jarg1, double jarg2)
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_subGetSubentPathsAtGsMarker__SWIG_0(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int OdDbViewBorder_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbViewBorder_setScale(HandleRef jarg1, double jarg2)
static int OdDbViewBorder_setSize__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 void delete_OdDbViewBorder(HandleRef jarg1)
static int OdDbViewBorder_subGetSubentPathsAtGsMarker__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDbViewBorder_setViewportId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbViewBorder_setSize__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdDbViewBorder_getScaleId(HandleRef jarg1)
static global::System.IntPtr OdDbViewBorder_insertionPoint(HandleRef jarg1)
static UInt32 OdDbViewBorder_shadedDPI(HandleRef jarg1)
static void OdDbViewBorder_setScaleId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)