Extended .NET SDK Documentation 2025 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
46
51
56
61
66
71
76
81
86
91
96
101
106
111
116
121
126
131
136
141
146
147 public void setSectionable(bool bSectionableFlag) {
150 }
151
156
161
166
167 public UInt16 color() {
168// test csout
169 /*SIMPLETYPE*/
170 UInt16 ret = GlobalsPINVOKE.OdGiSubEntityTraitsWrapper_color(swigCPtr);
172 return ret;
173 }
174
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
200
206
212
218
224
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
264
265 public UInt32 drawFlags() {
266// test csout
267 /*SIMPLETYPE*/
270 return ret;
271 }
272
278
284
290
296
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)
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)