Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiFaceData.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
16public class OdGiFaceData : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGiFaceData(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGiFaceData obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdGiFaceData() : this(GlobalsPINVOKE.new_OdGiFaceData(), true) {
53 }
54
59
64
69
71 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceData_fillOffsetDirections(swigCPtr);
72 OdGeVector2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector2d(cPtr, false);
74 return ret;
75 }
76
77 public double fillDashesScales() {
78// test csout
79 /*SIMPLETYPE*/
80 double ret = GlobalsPINVOKE.OdGiFaceData_fillDashesScales(swigCPtr);
82 return ret;
83 }
84
85 public double fillOffsetScales() {
86// test csout
87 /*SIMPLETYPE*/
88 double ret = GlobalsPINVOKE.OdGiFaceData_fillOffsetScales(swigCPtr);
90 return ret;
91 }
92
93 public bool HasColors() {
94 bool ret = GlobalsPINVOKE.OdGiFaceData_HasColors(swigCPtr);
96 return ret;
97 }
98
104
105 public bool HasLayerIds() {
106 bool ret = GlobalsPINVOKE.OdGiFaceData_HasLayerIds(swigCPtr);
108 return ret;
109 }
110
116
117 public bool HasNormals() {
118 bool ret = GlobalsPINVOKE.OdGiFaceData_HasNormals(swigCPtr);
120 return ret;
121 }
122
128
129 public bool HasMaterials() {
130 bool ret = GlobalsPINVOKE.OdGiFaceData_HasMaterials(swigCPtr);
132 return ret;
133 }
134
135 public bool HasMappers() {
136 bool ret = GlobalsPINVOKE.OdGiFaceData_HasMappers(swigCPtr);
138 return ret;
139 }
140
146
152
158
159 public IntPtr Colors() {
160// test csout
161 /*SIMPLETYPE*/
162 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_Colors(swigCPtr);
164 return ret;
165 }
166
167 public IntPtr TrueColors() {
168// test csout
169 /*SIMPLETYPE*/
170 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_TrueColors(swigCPtr);
172 return ret;
173 }
174
175 public IntPtr LayerIds() {
176// test csout
177 /*SIMPLETYPE*/
178 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_LayerIds(swigCPtr);
180 return ret;
181 }
182
183 public IntPtr SelectionMarkers() {
184// test csout
185 /*SIMPLETYPE*/
186 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_SelectionMarkers(swigCPtr);
188 return ret;
189 }
190
191 public IntPtr Normals() {
192// test csout
193 /*SIMPLETYPE*/
194 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_Normals(swigCPtr);
196 return ret;
197 }
198
199 public IntPtr Visibility() {
200// test csout
201 /*SIMPLETYPE*/
202 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_Visibility__SWIG_0(swigCPtr);
204 return ret;
205 }
206
207 public IntPtr Materials() {
208// test csout
209 /*SIMPLETYPE*/
210 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_Materials(swigCPtr);
212 return ret;
213 }
214
215 public IntPtr Mappers() {
216// test csout
217 /*SIMPLETYPE*/
218 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_Mappers(swigCPtr);
220 return ret;
221 }
222
223 public IntPtr Transparency() {
224// test csout
225 /*SIMPLETYPE*/
228 return ret;
229 }
230
231 public IntPtr FillOrigins() {
232// test csout
233 /*SIMPLETYPE*/
234 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_FillOrigins(swigCPtr);
236 return ret;
237 }
238
239 public IntPtr FillDirections() {
240// test csout
241 /*SIMPLETYPE*/
242 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_FillDirections(swigCPtr);
244 return ret;
245 }
246
251
256
261
266
271
276
281
286
291
296
301
302 public UInt16 Color(int faceIdx) {
303// test csout
304 /*SIMPLETYPE*/
305 UInt16 ret = GlobalsPINVOKE.OdGiFaceData_Color(swigCPtr, faceIdx);
307 return ret;
308 }
309
315
316 public OdDbStub LayerId(int faceIdx) {
317 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceData_LayerId(swigCPtr, faceIdx);
318 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
320 return ret;
321 }
322
323 public IntPtr SelectionMarker(int faceIdx) {
324// test csout
325 /*SIMPLETYPE*/
326 IntPtr ret = GlobalsPINVOKE.OdGiFaceData_SelectionMarker(swigCPtr, faceIdx);
328 return ret;
329 }
330
331 public OdGeVector3d Normal(int faceIdx) {
332 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGiFaceData_Normal(swigCPtr, faceIdx), true);
334 return ret;
335 }
336
337 public byte Visibility(int faceIdx) {
338// test csout
339 /*SIMPLETYPE*/
340 byte ret = GlobalsPINVOKE.OdGiFaceData_Visibility__SWIG_1(swigCPtr, faceIdx);
342 return ret;
343 }
344
345 public OdDbStub Material(int faceIdx) {
346 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceData_Material(swigCPtr, faceIdx);
347 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
349 return ret;
350 }
351
352 public OdGiMapper Mapper(int faceIdx) {
353 OdGiMapper ret = new OdGiMapper(GlobalsPINVOKE.OdGiFaceData_Mapper(swigCPtr, faceIdx), true);
355 return ret;
356 }
357
363
364 public OdGePoint2d FillOrigin(int faceIdx) {
365 OdGePoint2d ret = new OdGePoint2d(GlobalsPINVOKE.OdGiFaceData_FillOrigin(swigCPtr, faceIdx), true);
367 return ret;
368 }
369
375
376 public void SetColors(IntPtr data) {
377 GlobalsPINVOKE.OdGiFaceData_SetColors(swigCPtr, data /*SIMPLETYPE*/);
379 }
380
381 public void SetTrueColors(IntPtr data) {
382 GlobalsPINVOKE.OdGiFaceData_SetTrueColors(swigCPtr, data /*SIMPLETYPE*/);
384 }
385
386 public void SetLayers(IntPtr data) {
387 GlobalsPINVOKE.OdGiFaceData_SetLayers(swigCPtr, data /*SIMPLETYPE*/);
389 }
390
395
396 public void SetNormals(IntPtr data) {
397 GlobalsPINVOKE.OdGiFaceData_SetNormals(swigCPtr, data /*SIMPLETYPE*/);
399 }
400
401 public void SetVisibility(IntPtr data) {
402 GlobalsPINVOKE.OdGiFaceData_SetVisibility(swigCPtr, data /*SIMPLETYPE*/);
404 }
405
406 public void SetMaterials(IntPtr data) {
407 GlobalsPINVOKE.OdGiFaceData_SetMaterials(swigCPtr, data /*SIMPLETYPE*/);
409 }
410
411 public void SetMappers(IntPtr data) {
412 GlobalsPINVOKE.OdGiFaceData_SetMappers(swigCPtr, data /*SIMPLETYPE*/);
414 }
415
416 public void SetTransparency(IntPtr data) {
417 GlobalsPINVOKE.OdGiFaceData_SetTransparency(swigCPtr, data /*SIMPLETYPE*/);
419 }
420
421 public void SetFillOrigins(IntPtr data) {
422 GlobalsPINVOKE.OdGiFaceData_SetFillOrigins(swigCPtr, data /*SIMPLETYPE*/);
424 }
425
430
435 public IntPtr vb_Visibility() { return this.Visibility(); }
436
441 public Byte vb_Visibility(int faceIdx) { return this.Visibility(faceIdx); }
442
447 public Teigha.Core.OdDbStub vb_Material(int faceIdx) { return this.Material(faceIdx); }
448
449}
450
451}
static global::System.Exception Retrieve()
static void OdGiFaceData_SetSelectionMarkers(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGiFaceData_HasFillOrigins(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceData_LayerId(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiFaceData_FillOrigin(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiFaceData_HasFillDirections(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetVisibility(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiFaceData_FillDirection(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiFaceData_DeleteSelectionMarkers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetTrueColors(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiFaceData_Transparency__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceData_Transparency__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static UInt16 OdGiFaceData_Color(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdGiFaceData_Materials(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteTrueColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteMappers(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasTransparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_TrueColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetMappers(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGiFaceData_HasColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_Colors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiFaceData_Mapper(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiFaceData_SetFillDirections(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGiFaceData_DeleteMaterials(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_LayerIds(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteTransparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceData_TrueColor(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdGiFaceData_SelectionMarker(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiFaceData_Normal(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiFaceData_DeleteFillDirections(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiFaceData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetLayers(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiFaceData_fillOffsetDirections(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasVisibility(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_setFillOffsetScales(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiFaceData_SetColors(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGiFaceData_HasMappers(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasSelectionMarkers(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_FillDirections(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_FillOrigins(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_SetNormals(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGiFaceData_setFillOffsetDirections(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiFaceData_fillDashesScales(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasNormals(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_Mappers(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasLayerIds(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceData_Material(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiFaceData_DeleteVisibility(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_Normals(global::System.Runtime.InteropServices.HandleRef jarg1)
static byte OdGiFaceData_Visibility__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdGiFaceData_SelectionMarkers(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceData_Visibility__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteFillOrigins(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasMaterials(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceData_HasTrueColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteNormals(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_setFillDashesScales(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiFaceData_SetFillOrigins(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGiFaceData_SetMaterials(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static double OdGiFaceData_fillOffsetScales(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceData_DeleteLayerIds(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeVector2d obj)
OdGeVector2d FillDirection(int faceIdx)
void SetMappers(IntPtr data)
void SetMaterials(IntPtr data)
OdGeVector2d fillOffsetDirections()
void SetFillOrigins(IntPtr data)
OdGiMapper Mapper(int faceIdx)
OdDbStub Material(int faceIdx)
void SetVisibility(IntPtr data)
UInt16 Color(int faceIdx)
virtual void Dispose(bool disposing)
void SetColors(IntPtr data)
void SetLayers(IntPtr data)
static HandleRef getCPtr(OdGiFaceData obj)
OdDbStub LayerId(int faceIdx)
void SetTransparency(IntPtr data)
void SetFillDirections(IntPtr data)
void SetTrueColors(IntPtr data)
void setFillDashesScales(double fillDashesScales)
byte Visibility(int faceIdx)
OdGiFaceData(IntPtr cPtr, bool cMemoryOwn)
OdCmEntityColor TrueColor(int faceIdx)
OdGePoint2d FillOrigin(int faceIdx)
void setFillOffsetScales(double fillOffsetScales)
OdCmTransparency Transparency(int faceIdx)
Byte vb_Visibility(int faceIdx)
void setFillOffsetDirections(OdGeVector2d fillOffsetDirections)
void SetSelectionMarkers(IntPtr data)
OdGeVector3d Normal(int faceIdx)
Teigha.Core.OdDbStub vb_Material(int faceIdx)
void SetNormals(IntPtr data)
IntPtr SelectionMarker(int faceIdx)