Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbCoordSystemRef.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
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbCoordSystemRef(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbCoordSystemRef_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbCoordSystemRef 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 OdDbCoordSystemRef cast(OdRxObject pObj) {// OdSmartPtr<OdDbCoordSystemRef>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbCoordSystemRef ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, true));
52 ret = (OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, true);
57 }
58
60 return ret;
61}
62
63 public static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbCoordSystemRef_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public virtual OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbCoordSystemRef_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public virtual OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbCoordSystemRef_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public static OdDbCoordSystemRef createObject() {// OdSmartPtr<OdDbCoordSystemRef>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbCoordSystemRef ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, true));
93 ret = (OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),ptr, true);
98 }
99
101 return ret;
102}
103
105 OdDbCoordSystemRef ret = (OdDbCoordSystemRef)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCoordSystemRef),TD_DbPINVOKE.OdDbCoordSystemRef_Assign(swigCPtr, OdDbCoordSystemRef.getCPtr(arg0)),false); /*createInt 3_1*/
106
108 return ret;
109}
110
111 public virtual void copyFrom(OdRxObject arg0) {
114 }
115
116 public virtual void reset() {
119 }
120
121 public virtual bool isValid() {
122 bool ret = TD_DbPINVOKE.OdDbCoordSystemRef_isValid(swigCPtr);
124 return ret;
125 }
126
127 public virtual bool isEmpty() {
128 bool ret = TD_DbPINVOKE.OdDbCoordSystemRef_isEmpty(swigCPtr);
130 return ret;
131 }
132
136 return ret;
137 }
138
140 OdDbCompoundObjectId ret = (OdDbCompoundObjectId)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCompoundObjectId),TD_DbPINVOKE.OdDbCoordSystemRef_entityId(swigCPtr),false); /*createInt 3_1*/
141
143 return ret;
144}
145
149 return ret;
150 }
151
152 public void set(OdGeMatrix3d matrix) {
155 }
156
157 public void set(OdDbCompoundObjectId entId) {
160 }
161
162 public void set(SWIGTYPE_p_OdArrayT_OdDbSubentRef_p_t subentReferences) {
165 }
166
167 public virtual OdDbEntity createEntity() {// OdDbEntityPtr
168 MemoryManager mMan = MemoryManager.GetMemoryManager();
169 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
170 IntPtr ptr = TD_DbPINVOKE.OdDbCoordSystemRef_createEntity(swigCPtr);
171
172 OdDbEntity ret = null;
173 if (null != mTrans)
174 {
175 mTrans.AddObject((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true));
176 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, false);
177 }
178 else
179 {
180 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true);
181 }
182
184 return ret;
185}
186
190 return ret;
191 }
192
193 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
194 string ret = TD_DbPINVOKE.OdDbCoordSystemRef_getRealClassName(ptr /*SIMPLETYPE*/);
196 return ret;
197 }
198
204
205}
206
207}
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDbCompoundObjectId obj)
virtual OdRxObject queryX(OdRxClass protocolClass)
static OdDbCoordSystemRef cast(OdRxObject pObj)
OdDbCoordSystemRef(IntPtr cPtr, bool cMemoryOwn)
OdDbCoordSystemRef Assign(OdDbCoordSystemRef arg0)
virtual void copyFrom(OdRxObject arg0)
virtual OdDbEntity createEntity()
Teigha.TD.OdDbCompoundObjectId vb_entityId()
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdDbCoordSystemRef obj)
static OdDbCoordSystemRef createObject()
OdDbCompoundObjectId entityId()
override void Dispose(bool disposing)
SWIGTYPE_p_OdArrayT_OdDbSubentRef_p_t subentRefs()
virtual OdResult evaluateAndCacheGeometry()
static global::System.Exception Retrieve()
static bool OdDbCoordSystemRef_isEmpty(HandleRef jarg1)
static IntPtr OdDbCoordSystemRef_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbCoordSystemRef_Assign(HandleRef jarg1, HandleRef jarg2)
static void delete_OdDbCoordSystemRef(HandleRef jarg1)
static int OdDbCoordSystemRef_evaluateAndCacheGeometry(HandleRef jarg1)
static void OdDbCoordSystemRef_set__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbCoordSystemRef_createEntity(HandleRef jarg1)
static bool OdDbCoordSystemRef_isValid(HandleRef jarg1)
static IntPtr OdDbCoordSystemRef_desc()
static void OdDbCoordSystemRef_set__SWIG_0(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdDbCoordSystemRef_cast(HandleRef jarg1)
static global::System.IntPtr OdDbCoordSystemRef_coordSystem(HandleRef jarg1)
static global::System.IntPtr OdDbCoordSystemRef_subentRefs(HandleRef jarg1)
static IntPtr OdDbCoordSystemRef_isA(HandleRef jarg1)
static void OdDbCoordSystemRef_copyFrom(HandleRef jarg1, HandleRef jarg2)
static void OdDbCoordSystemRef_reset(HandleRef jarg1)
static IntPtr OdDbCoordSystemRef_entityId(HandleRef jarg1)
static string OdDbCoordSystemRef_getRealClassName(IntPtr jarg1)
static IntPtr OdDbCoordSystemRef_createObject()
static void OdDbCoordSystemRef_set__SWIG_1(HandleRef jarg1, HandleRef jarg2)