Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
BrepBuilderInitialSurface.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 BrepBuilderInitialSurface : 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 BrepBuilderInitialSurface(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(BrepBuilderInitialSurface 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
52 set {
55 }
56 get {
59 return ret;
60 }
61 }
62
64 set {
67 }
68 get
69 {
70 // csvarout array
72
74 return res;
75 }
76
77 }
78
80 set {
83 }
84 get {
85 global::System.IntPtr cPtr = GlobalsPINVOKE.BrepBuilderInitialSurface_material_get(swigCPtr);
86 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
88 return ret;
89 }
90 }
91
92 public bool hasMaterialMapping {
93 set {
96 }
97 get {
100 return ret;
101 }
102 }
103
105 set {
108 }
109 get {
110 global::System.IntPtr cPtr = GlobalsPINVOKE.BrepBuilderInitialSurface_materialMapper_get(swigCPtr);
111 OdGiMapper ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiMapper(cPtr, false);
113 return ret;
114 }
115 }
116
117 public bool hasColor {
118 set {
121 }
122 get {
125 return ret;
126 }
127 }
128
130 set {
133 }
134 get {
135 global::System.IntPtr cPtr = GlobalsPINVOKE.BrepBuilderInitialSurface_color_get(swigCPtr);
136 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
138 return ret;
139 }
140 }
141
143 set {
146 }
147 get {
148 global::System.IntPtr cPtr = GlobalsPINVOKE.BrepBuilderInitialSurface_marker_get(swigCPtr);
149 BoolToOdGsMarkerStdPair ret = (cPtr == global::System.IntPtr.Zero) ? null : new BoolToOdGsMarkerStdPair(cPtr, false);
151 return ret;
152 }
153 }
154
155 public UInt32 parentFaceIdx {
156 set {
157 /*SIMPLETYPE*/
160 }
161 get {
162 /*SIMPLETYPE*/
165 return ret;
166 }
167 }
168
169 public BrepBuilderInitialSurface() : this(GlobalsPINVOKE.new_BrepBuilderInitialSurface(), true) {
171 }
172
176 }
177
179 //MemoryManager mMan = MemoryManager.GetMemoryManager();
180 //MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #15
182
183 OdGeSurface ret = null;
184 //if (null != mTrans)
185 //{
186 //mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), ptr, true));
187 ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), ptr, false);
188 //}
189 //else
190 //{
191 // ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), ptr, true);
192 //}
193
195 return ret;
196}
197
198 public void set_pSurf(OdGeSurface pSurf) {
201 }
202
203}
204
205}
static HandleRef getCPtr(BoolToOdGsMarkerStdPair obj)
static HandleRef getCPtr(BrepBuilderInitialLoopArray obj)
void copyFaceExceptLoops(BrepBuilderInitialSurface other)
BrepBuilderInitialSurface(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(BrepBuilderInitialSurface obj)
static global::System.Exception Retrieve()
static bool BrepBuilderInitialSurface_hasMaterialMapping_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_hasMaterialMapping_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void BrepBuilderInitialSurface_color_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void BrepBuilderInitialSurface_direction_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void BrepBuilderInitialSurface_copyFaceExceptLoops(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr BrepBuilderInitialSurface_marker_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_marker_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 BrepBuilderInitialSurface_parentFaceIdx_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_hasColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool BrepBuilderInitialSurface_hasColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int BrepBuilderInitialSurface_direction_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BrepBuilderInitialSurface_materialMapper_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BrepBuilderInitialSurface_loops_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_loops_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr BrepBuilderInitialSurface_material_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BrepBuilderInitialSurface_color_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_parentFaceIdx_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static IntPtr BrepBuilderInitialSurface_get_pSurf(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_BrepBuilderInitialSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BrepBuilderInitialSurface_material_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void BrepBuilderInitialSurface_materialMapper_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void BrepBuilderInitialSurface_set_pSurf(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGeSurface obj)
Definition: OdGeSurface.cs:25
static HandleRef getCPtr(OdGiMapper obj)
Definition: OdGiMapper.cs:26