Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgConic3d.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 OdDgConic3d(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgConic3d_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgConic3d 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*/
52 byte ret = TG_DbPINVOKE.OdDgConic3d_getElementSubType(swigCPtr);
54 return ret;
55 }
56
57 public static OdDgConic3d cast(OdRxObject pObj) {// OdSmartPtr<OdDgConic3d>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgConic3d ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),ptr, true));
66 ret = (OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),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.OdDgConic3d_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.OdDgConic3d_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.OdDgConic3d_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgConic3d createObject() {// OdSmartPtr<OdDgConic3d>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgConic3d ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),ptr, true));
107 ret = (OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgConic3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgConic3d),ptr, true);
112 }
113
115 return ret;
116}
117
118 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
119 string ret = TG_DbPINVOKE.OdDgConic3d_getRealClassName(ptr /*SIMPLETYPE*/);
121 return ret;
122 }
123
128 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
129
135
136}
137
138}
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
Definition: OdDgConic3d.cs:128
override void Dispose(bool disposing)
Definition: OdDgConic3d.cs:30
OdDgConic3d(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDgConic3d.cs:21
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
Definition: OdDgConic3d.cs:134
override byte getElementSubType()
Definition: OdDgConic3d.cs:49
static string getRealClassName(IntPtr ptr)
Definition: OdDgConic3d.cs:118
override OdDgElement.ElementTypes getElementType()
Definition: OdDgConic3d.cs:43
override OdRxClass isA()
Definition: OdDgConic3d.cs:84
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdDgConic3d.cs:91
static OdDgConic3d cast(OdRxObject pObj)
Definition: OdDgConic3d.cs:57
static new OdRxClass desc()
Definition: OdDgConic3d.cs:77
static new OdDgConic3d createObject()
Definition: OdDgConic3d.cs:98
static HandleRef getCPtr(OdDgConic3d obj)
Definition: OdDgConic3d.cs:26
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static global::System.Exception Retrieve()
static IntPtr OdDgConic3d_desc()
static string OdDgConic3d_getRealClassName(IntPtr jarg1)
static void delete_OdDgConic3d(HandleRef jarg1)
static IntPtr OdDgConic3d_createObject()
static int OdDgConic3d_getElementType(HandleRef jarg1)
static IntPtr OdDgConic3d_isA(HandleRef jarg1)
static IntPtr OdDgConic3d_cast(HandleRef jarg1)
static IntPtr OdDgConic3d_queryX(HandleRef jarg1, HandleRef jarg2)
static byte OdDgConic3d_getElementSubType(HandleRef jarg1)