Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiFillData.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 OdGiFillData : 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 OdGiFillData(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(OdGiFillData 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 OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits, LineWeight lweight, OdGiFillType fillType) : this(GlobalsPINVOKE.new_OdGiFillData__SWIG_0(pDrawCtx.GetInterfaceCPtr(), OdGiSubEntityTraits.getCPtr(pTraits), (int)lweight, (int)fillType), true) {
53 }
54
55 public OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits, LineWeight lweight) : this(GlobalsPINVOKE.new_OdGiFillData__SWIG_1(pDrawCtx.GetInterfaceCPtr(), OdGiSubEntityTraits.getCPtr(pTraits), (int)lweight), true) {
57 }
58
59 public OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits) : this(GlobalsPINVOKE.new_OdGiFillData__SWIG_2(pDrawCtx.GetInterfaceCPtr(), OdGiSubEntityTraits.getCPtr(pTraits)), true) {
61 }
62
63 public void set(LineWeight lweight, OdGiFillType fillType, OdGeVector3d fillNormal) {
64 GlobalsPINVOKE.OdGiFillData_set(swigCPtr, (int)lweight, (int)fillType, OdGeVector3d.getCPtr(fillNormal));
66 }
67
69 set {
72 }
73 get {
76 return ret;
77 }
78 }
79
81 set {
84 }
85 get {
88 return ret;
89 }
90 }
91
93 set {
96 }
97 get {
98 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFillData_m_fillNormal_get(swigCPtr);
99 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
101 return ret;
102 }
103 }
104
106 set {
109 }
110 get {
111 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFillData_m_pFillNormal_get(swigCPtr);
112 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
114 return ret;
115 }
116 }
117
119 set {
122 }
123 get {
124 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFillData_m_pTraits_get(swigCPtr);
125 OdGiSubEntityTraits ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiSubEntityTraits(cPtr, false);
127 return ret;
128 }
129 }
130
132 set {
133 GlobalsPINVOKE.OdGiFillData_m_pDrawCtx_set(swigCPtr, value.GetInterfaceCPtr());
135 }
136 get {
137 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFillData_m_pDrawCtx_get(swigCPtr);
138 OdGiConveyorContext_Internal ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiConveyorContext_Internal(cPtr, false);
140 return ret;
141 }
142 }
143
144}
145
146}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiFillData_m_pDrawCtx_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFillData_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdGiFillData_m_pTraits_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiFillData_m_fillType_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFillData_m_pFillNormal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiFillData_m_pFillNormal_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFillData_m_fillType_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiFillData_m_pTraits_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiFillData_m_fillNormal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiFillData_m_lweight_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_OdGiFillData(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiFillData_m_lweight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFillData_m_fillNormal_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFillData_m_pDrawCtx_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
OdGiFillData(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGiFillData.cs:21
OdGeVector3d m_fillNormal
Definition: OdGiFillData.cs:92
OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits, LineWeight lweight, OdGiFillType fillType)
Definition: OdGiFillData.cs:51
static HandleRef getCPtr(OdGiFillData obj)
Definition: OdGiFillData.cs:26
OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits)
Definition: OdGiFillData.cs:59
OdGeVector3d m_pFillNormal
OdGiFillData(OdGiConveyorContext pDrawCtx, OdGiSubEntityTraits pTraits, LineWeight lweight)
Definition: OdGiFillData.cs:55
OdGiConveyorContext m_pDrawCtx
virtual void Dispose(bool disposing)
Definition: OdGiFillData.cs:39
OdGiSubEntityTraits m_pTraits
static HandleRef getCPtr(OdGiSubEntityTraits obj)