Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiSubEntityTraitsWrapper.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiSubEntityTraitsWrapper(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiSubEntityTraitsWrapper obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
34 throw new global::System.MethodAccessException("C++ destructor does not have public access");
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public void setColor(UInt16 /*SIMPLETYPE*/ n) {
43 GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_setColor(swigCPtr, n /*SIMPLETYPE*/);
45 }
46
50 }
51
52 public void setLayer(OdDbStub n) {
55 }
56
57 public void setLineType(OdDbStub n) {
60 }
61
62 public void setSelectionMarker(IntPtr /*SIMPLETYPE*/ n) {
65 }
66
67 public void setFillType(OdGiFillType n) {
70 }
71
72 public void setFillPlane(OdGeVector3d n) {
75 }
76
77 public void setFillPlane() {
80 }
81
82 public void setLineWeight(LineWeight n) {
85 }
86
87 public void setLineTypeScale(double n) {
90 }
91
92 public void setLineTypeScale() {
95 }
96
97 public void setThickness(double n) {
100 }
101
105 }
106
110 }
111
112 public void setMaterial(OdDbStub n) {
115 }
116
117 public void setMapper(OdGiMapper n) {
120 }
121
122 public void setVisualStyle(OdDbStub n) {
125 }
126
130 }
131
132 public void setDrawFlags(UInt32 /*SIMPLETYPE*/ drawFlags) {
135 }
136
137 public void setSelectionGeom(bool bSelectionFlag) {
140 }
141
145 }
146
147 public void setSectionable(bool bSectionableFlag) {
150 }
151
155 }
156
160 }
161
165 }
166
167 public UInt16 color() {
168// test csout
169 /*SIMPLETYPE*/
170 UInt16 ret = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_color(swigCPtr);
172 return ret;
173 }
174
178 return ret;
179 }
180
181 public OdDbStub layer() {
182 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_layer(swigCPtr);
183 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
185 return ret;
186 }
187
189 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_lineType(swigCPtr);
190 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
192 return ret;
193 }
194
198 return ret;
199 }
200
201 public bool fillPlane(OdGeVector3d n) {
204 return ret;
205 }
206
210 return ret;
211 }
212
213 public double lineTypeScale() {
216 return ret;
217 }
218
219 public double thickness() {
222 return ret;
223 }
224
228 return ret;
229 }
230
232 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_plotStyleNameId(swigCPtr);
233 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
235 return ret;
236 }
237
239 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_material(swigCPtr);
240 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
242 return ret;
243 }
244
246 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_mapper(swigCPtr);
247 OdGiMapper ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiMapper(cPtr, false);
249 return ret;
250 }
251
253 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_visualStyle(swigCPtr);
254 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
256 return ret;
257 }
258
262 return ret;
263 }
264
265 public UInt32 drawFlags() {
266// test csout
267 /*SIMPLETYPE*/
270 return ret;
271 }
272
273 public bool selectionGeom() {
276 return ret;
277 }
278
282 return ret;
283 }
284
285 public bool sectionable() {
288 return ret;
289 }
290
294 return ret;
295 }
296
300 return ret;
301 }
302
304 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_lineStyleModifiers(swigCPtr);
305 OdGiDgLinetypeModifiers ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDgLinetypeModifiers(cPtr, false);
307 return ret;
308 }
309
310}
311
312}
static global::System.Exception Retrieve()
static double OdGiSubEntityTraitsWrapper_lineTypeScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setSelectionGeom(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiSubEntityTraitsWrapper_setPlotStyleName__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_trueColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSubEntityTraitsWrapper_fillPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_visualStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_secondaryTrueColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiSubEntityTraitsWrapper_shadowFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setSecondaryTrueColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_plotStyleNameId(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdGiSubEntityTraitsWrapper_color(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiSubEntityTraitsWrapper_selectionFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setFillPlane__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setColor(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdGiSubEntityTraitsWrapper_setDrawFlags(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_material(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setTrueColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setLineStyleModifiers(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setShadowFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiSubEntityTraitsWrapper_setThickness(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_lineType(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_lineStyleModifiers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setSelectionFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiSubEntityTraitsWrapper_plotStyleNameType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setSelectionMarker(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_transparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSubEntityTraitsWrapper_thickness(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_layer(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setFillType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiSubEntityTraitsWrapper_setLineTypeScale__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSubEntityTraitsWrapper_setMapper(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiSubEntityTraitsWrapper_selectionGeom(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiSubEntityTraitsWrapper_drawFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setVisualStyle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setLineWeight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiSubEntityTraitsWrapper_fillType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setMaterial(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiSubEntityTraitsWrapper_sectionable(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setFillPlane__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setLineTypeScale__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setLineType(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSubEntityTraitsWrapper_setLayer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiSubEntityTraitsWrapper_lineWeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSubEntityTraitsWrapper_mapper(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSubEntityTraitsWrapper_setPlotStyleName__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiSubEntityTraitsWrapper_setSectionable(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdCmTransparency obj)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiDgLinetypeModifiers obj)
static HandleRef getCPtr(OdGiMapper obj)
Definition: OdGiMapper.cs:26
OdGiSubEntityTraits.ShadowFlags shadowFlags()
static HandleRef getCPtr(OdGiSubEntityTraitsWrapper obj)
void setSelectionFlags(OdGiSubEntityTraits.SelectionFlags selectionFlags)
void setTransparency(OdCmTransparency transparency)
void setLineStyleModifiers(OdGiDgLinetypeModifiers pLSMod)
void setPlotStyleName(PlotStyleNameType n, OdDbStub m)
OdGiSubEntityTraitsWrapper(IntPtr cPtr, bool cMemoryOwn)
OdGiSubEntityTraits.SelectionFlags selectionFlags()
void setShadowFlags(OdGiSubEntityTraits.ShadowFlags shadowFlags)