Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbLSPointComponent.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 OdDbLSPointComponent(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbLSPointComponent_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbLSPointComponent 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 OdDbLSPointComponent cast(OdRxObject pObj) {// OdSmartPtr<OdDbLSPointComponent>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbLSPointComponent ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),ptr, true));
52 ret = (OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),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.OdDbLSPointComponent_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.OdDbLSPointComponent_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.OdDbLSPointComponent_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbLSPointComponent createObject() {// OdSmartPtr<OdDbLSPointComponent>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbLSPointComponent ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),ptr, true));
93 ret = (OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbLSPointComponent)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLSPointComponent),ptr, true);
98 }
99
101 return ret;
102}
103
104 public OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle, Int32 /*SIMPLETYPE*/ nStroke) {
105 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_0(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset, fAngle, nStroke /*SIMPLETYPE*/);
106 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
108 return ret;
109 }
110
111 public OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle) {
112 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_1(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset, fAngle);
113 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
115 return ret;
116 }
117
118 public OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset) {
119 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_2(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset);
120 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
122 return ret;
123 }
124
125 public OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset) {
126 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_3(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset);
127 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
129 return ret;
130 }
131
133 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_4(swigCPtr, OdDbObjectId.getCPtr(symCompId));
134 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
136 return ret;
137 }
138
139 public OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, Int32 /*SIMPLETYPE*/ nStroke) {
140 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_5(swigCPtr, OdDbObjectId.getCPtr(symCompId), nStroke /*SIMPLETYPE*/);
141 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
143 return ret;
144 }
145
146 public OdDbLSSymbolReference insertSymbolForStroke(OdDbLSSymbolReference pSymbol, Int32 /*SIMPLETYPE*/ nStroke) {
147 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForStroke__SWIG_6(swigCPtr, OdDbLSSymbolReference.getCPtr(pSymbol), nStroke /*SIMPLETYPE*/);
148 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
150 return ret;
151 }
152
153 public OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle, OdDbLSSymbolReference.VertexMask at) {
154 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_0(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset, fAngle, (int)at);
155 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
157 return ret;
158 }
159
160 public OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle) {
161 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_1(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset, fAngle);
162 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
164 return ret;
165 }
166
167 public OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset) {
168 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_2(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset, fYOffset);
169 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
171 return ret;
172 }
173
174 public OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset) {
175 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_3(swigCPtr, OdDbObjectId.getCPtr(symCompId), fXOffset);
176 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
178 return ret;
179 }
180
182 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_4(swigCPtr, OdDbObjectId.getCPtr(symCompId));
183 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
185 return ret;
186 }
187
189 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_5(swigCPtr, OdDbObjectId.getCPtr(symCompId), (int)at);
190 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
192 return ret;
193 }
194
196 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_insertSymbolForVertex__SWIG_6(swigCPtr, OdDbLSSymbolReference.getCPtr(pSymbol), (int)at);
197 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
199 return ret;
200 }
201
202 public void deleteSymbolForStroke(Int32 /*SIMPLETYPE*/ nStroke) {
203 TD_DbPINVOKE.OdDbLSPointComponent_deleteSymbolForStroke(swigCPtr, nStroke /*SIMPLETYPE*/);
205 }
206
210 }
211
212 public UInt32 numberSymbols() {
213// test csout
214 /*SIMPLETYPE*/
215 UInt32 ret = TD_DbPINVOKE.OdDbLSPointComponent_numberSymbols(swigCPtr);
217 return ret;
218 }
219
221 MemoryManager mMan = MemoryManager.GetMemoryManager();
222 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
224
225 OdDbObjectId ret = null;
226 if (null != mTrans)
227 {
228 mTrans.AddObject(new OdDbObjectId(ptr, true));
229 ret = new OdDbObjectId(ptr, false);
230 }
231 else
232 {
233 ret = new OdDbObjectId(ptr, true);
234 }
235
237 return ret;
238}
239
240 public void setStrokeComponent(OdDbObjectId strokeCompId) {
243 }
244
245 public OdDbLSSymbolReference symbol(UInt32 /*SIMPLETYPE*/ nSym) {
246 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_symbol(swigCPtr, nSym /*SIMPLETYPE*/);
247 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
249 return ret;
250 }
251
252 public OdDbLSSymbolReference symbolForStroke(Int32 /*SIMPLETYPE*/ nStroke) {
253 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_symbolForStroke(swigCPtr, nStroke /*SIMPLETYPE*/);
254 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
256 return ret;
257 }
258
260 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbLSPointComponent_symbolForVertex(swigCPtr, (int)at);
261 OdDbLSSymbolReference ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbLSSymbolReference(cPtr, false);
263 return ret;
264 }
265
266 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
267 string ret = TD_DbPINVOKE.OdDbLSPointComponent_getRealClassName(ptr /*SIMPLETYPE*/);
269 return ret;
270 }
271
276 public Teigha.TD.OdDbLSSymbolReference vb_symbol(uint nSym) { return this.symbol(nSym); }
277
283
284}
285
286}
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId)
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset)
OdDbLSSymbolReference symbol(UInt32 nSym)
static string getRealClassName(IntPtr ptr)
OdDbLSSymbolReference insertSymbolForStroke(OdDbLSSymbolReference pSymbol, Int32 nStroke)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle, Int32 nStroke)
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, OdDbLSSymbolReference.VertexMask at)
static HandleRef getCPtr(OdDbLSPointComponent obj)
Teigha.TD.OdDbLSSymbolReference vb_symbol(uint nSym)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, Int32 nStroke)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset)
static OdDbLSPointComponent cast(OdRxObject pObj)
OdDbLSSymbolReference symbolForStroke(Int32 nStroke)
OdDbLSSymbolReference insertSymbolForVertex(OdDbLSSymbolReference pSymbol, OdDbLSSymbolReference.VertexMask at)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle)
OdDbLSSymbolReference symbolForVertex(OdDbLSSymbolReference.VertexMask at)
override void Dispose(bool disposing)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId, double fXOffset, double fYOffset)
void deleteSymbolForVertex(OdDbLSSymbolReference.VertexMask at)
static new OdDbLSPointComponent createObject()
void setStrokeComponent(OdDbObjectId strokeCompId)
OdDbLSSymbolReference insertSymbolForStroke(OdDbObjectId symCompId)
OdDbLSPointComponent(IntPtr cPtr, bool cMemoryOwn)
override OdRxObject queryX(OdRxClass protocolClass)
void deleteSymbolForStroke(Int32 nStroke)
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset, double fAngle, OdDbLSSymbolReference.VertexMask at)
OdDbLSSymbolReference insertSymbolForVertex(OdDbObjectId symCompId, double fXOffset, double fYOffset)
static HandleRef getCPtr(OdDbLSSymbolReference obj)
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static global::System.Exception Retrieve()
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5, Int32 jarg6)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_5(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, Int32 jarg3)
static void OdDbLSPointComponent_deleteSymbolForStroke(HandleRef jarg1, Int32 jarg2)
static IntPtr OdDbLSPointComponent_createObject()
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_5(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void delete_OdDbLSPointComponent(HandleRef jarg1)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_6(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static IntPtr OdDbLSPointComponent_isA(HandleRef jarg1)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5)
static string OdDbLSPointComponent_getRealClassName(IntPtr jarg1)
static UInt32 OdDbLSPointComponent_numberSymbols(HandleRef jarg1)
static global::System.IntPtr OdDbLSPointComponent_strokeComponent(HandleRef jarg1)
static global::System.IntPtr OdDbLSPointComponent_symbolForStroke(HandleRef jarg1, Int32 jarg2)
static global::System.IntPtr OdDbLSPointComponent_symbolForVertex(HandleRef jarg1, int jarg2)
static void OdDbLSPointComponent_setStrokeComponent(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5)
static IntPtr OdDbLSPointComponent_cast(HandleRef jarg1)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbLSPointComponent_queryX(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static IntPtr OdDbLSPointComponent_desc()
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4)
static void OdDbLSPointComponent_deleteSymbolForVertex(HandleRef jarg1, int jarg2)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForVertex__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5, int jarg6)
static global::System.IntPtr OdDbLSPointComponent_symbol(HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdDbLSPointComponent_insertSymbolForStroke__SWIG_6(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, Int32 jarg3)