Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiShmDataStorage.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 OdGiShmDataStorage : 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 OdGiShmDataStorage(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(OdGiShmDataStorage 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 OdGiShmDataStorage() : this(GlobalsPINVOKE.new_OdGiShmDataStorage(), true) {
53 }
54
59
61 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShmDataStorage_vertexList(swigCPtr);
62 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
64 return ret;
65 }
66
74
79
80 public OdGePoint3d resizeVertexListArray(UInt32 nSize, bool bSetPtr) {
81 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShmDataStorage_resizeVertexListArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
82 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
84 return ret;
85 }
86
87 public OdGePoint3d resizeVertexListArray(UInt32 nSize) {
88 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShmDataStorage_resizeVertexListArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
89 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
91 return ret;
92 }
93
94 public void setFaceList(Int32 pFaceList) {
95 GlobalsPINVOKE.OdGiShmDataStorage_setFaceList(swigCPtr, pFaceList /*SIMPLETYPE*/);
97 }
98
99 public Int32 faceList() {
100// test csout
101 /*SIMPLETYPE*/
102 Int32 ret = GlobalsPINVOKE.OdGiShmDataStorage_faceList(swigCPtr);
104 return ret;
105 }
106
114
119
120 public Int32 resizeFaceListArray(UInt32 nSize, bool bSetPtr) {
121// test csout
122 /*SIMPLETYPE*/
123 Int32 ret = GlobalsPINVOKE.OdGiShmDataStorage_resizeFaceListArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
125 return ret;
126 }
127
128 public Int32 resizeFaceListArray(UInt32 nSize) {
129// test csout
130 /*SIMPLETYPE*/
131 Int32 ret = GlobalsPINVOKE.OdGiShmDataStorage_resizeFaceListArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
133 return ret;
134 }
135
136 public void setEdgeData(EdgeData pEdgeData) {
137 GlobalsPINVOKE.OdGiShmDataStorage_setEdgeData(swigCPtr, pEdgeData /*SIMPLETYPE*/);
139 }
140
141 public EdgeData edgeData() {
142// test csout
143 /*SIMPLETYPE*/
144 EdgeData ret = GlobalsPINVOKE.OdGiShmDataStorage_edgeData(swigCPtr);
146 return ret;
147 }
148
154
159
164
165 public void cloneEdgeData(EdgeData pEdgeData) {
166 GlobalsPINVOKE.OdGiShmDataStorage_cloneEdgeData(swigCPtr, pEdgeData /*SIMPLETYPE*/);
168 }
169
174
176 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShmDataStorage_faceData(swigCPtr);
177 OdGiFaceData ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiFaceData(cPtr, false);
179 return ret;
180 }
181
187
192
197
202
207
209 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShmDataStorage_vertexData(swigCPtr);
210 OdGiVertexData ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiVertexData(cPtr, false);
212 return ret;
213 }
214
220
225
230
235
240
241 public void setPointersArray(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData) {
242 GlobalsPINVOKE.OdGiShmDataStorage_setPointersArray__SWIG_0(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/, OdGiVertexData.getCPtr(pVertexData));
244 }
245
246 public void setPointersArray(OdGiFaceData pFaceData, EdgeData pEdgeData) {
247 GlobalsPINVOKE.OdGiShmDataStorage_setPointersArray__SWIG_1(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/);
249 }
250
255
260
261 public void clearArrays(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData) {
262 GlobalsPINVOKE.OdGiShmDataStorage_clearArrays__SWIG_0(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/, OdGiVertexData.getCPtr(pVertexData));
264 }
265
266 public void clearArrays(OdGiFaceData pFaceData, EdgeData pEdgeData) {
267 GlobalsPINVOKE.OdGiShmDataStorage_clearArrays__SWIG_1(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/);
269 }
270
275
280
281 public void deleteArrays(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData) {
282 GlobalsPINVOKE.OdGiShmDataStorage_deleteArrays__SWIG_0(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/, OdGiVertexData.getCPtr(pVertexData));
284 }
285
286 public void deleteArrays(OdGiFaceData pFaceData, EdgeData pEdgeData) {
287 GlobalsPINVOKE.OdGiShmDataStorage_deleteArrays__SWIG_1(swigCPtr, OdGiFaceData.getCPtr(pFaceData), pEdgeData /*SIMPLETYPE*/);
289 }
290
295
300
305 public Teigha.Core.EdgeData vb_edgeData() { return this.edgeData(); }
306
312
318
319}
320
321}
static global::System.Exception Retrieve()
static void OdGiShmDataStorage_cloneFaceData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShmDataStorage_resetPointers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setFaceDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setVertexDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_cloneEdgeData(global::System.Runtime.InteropServices.HandleRef jarg1, EdgeData jarg2)
static void OdGiShmDataStorage_deleteArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3)
static IntPtr OdGiShmDataStorage_faceListArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShmDataStorage_vertexList(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShmDataStorage_edgeDataStorage__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShmDataStorage_vertexListArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 OdGiShmDataStorage_resizeFaceListArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiShmDataStorage_resizeVertexListArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static Int32 OdGiShmDataStorage_faceList(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShmDataStorage_resizeVertexListArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiShmDataStorage_setEdgeDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setVertexListArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShmDataStorage_vertexDataStorage__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 OdGiShmDataStorage_resizeFaceListArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiShmDataStorage_setPointersArray__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShmDataStorage_setPointersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiShmDataStorage_setVertexList(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShmDataStorage_faceData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setEdgeData(global::System.Runtime.InteropServices.HandleRef jarg1, EdgeData jarg2)
static EdgeData OdGiShmDataStorage_edgeData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setPointersArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3)
static global::System.IntPtr OdGiShmDataStorage_vertexData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setFaceListArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_resetEdgeData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_deleteArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiShmDataStorage_clearArrays__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_clearArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3)
static void delete_OdGiShmDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setPointersArray__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_deleteArrays__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShmDataStorage_cloneVertexData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShmDataStorage_faceDataStorage__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_resetVertexData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setVertexData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShmDataStorage_setFaceData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShmDataStorage_resetFaceData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_setFaceList(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdGiShmDataStorage_clearArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, EdgeData jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiShmDataStorage_deleteArrays__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShmDataStorage_clearArrays__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGiFaceData obj)
OdGiEdgeDataStorage edgeDataStorage()
static HandleRef getCPtr(OdGiShmDataStorage obj)
void setFaceList(Int32 pFaceList)
void deleteArrays(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData)
void setPointersArray(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData)
void setPointersArray(OdGiFaceData pFaceData, EdgeData pEdgeData)
void setVertexList(OdGePoint3d pVertexList)
virtual void Dispose(bool disposing)
Int32 resizeFaceListArray(UInt32 nSize, bool bSetPtr)
void cloneEdgeData(EdgeData pEdgeData)
void clearArrays(OdGiFaceData pFaceData, EdgeData pEdgeData, OdGiVertexData pVertexData)
void setVertexData(OdGiVertexData pVertexData)
OdGePoint3d resizeVertexListArray(UInt32 nSize, bool bSetPtr)
void clearArrays(OdGiFaceData pFaceData, EdgeData pEdgeData)
Int32 resizeFaceListArray(UInt32 nSize)
Teigha.Core.EdgeData vb_edgeData()
Teigha.Core.OdGiFaceData vb_faceData()
void deleteArrays(OdGiFaceData pFaceData, EdgeData pEdgeData)
void setFaceData(OdGiFaceData pFaceData)
void setPointersArray(OdGiFaceData pFaceData)
void deleteArrays(OdGiFaceData pFaceData)
void cloneVertexData(OdGiVertexData pVertexData)
OdGiShmDataStorage(IntPtr cPtr, bool cMemoryOwn)
void setEdgeData(EdgeData pEdgeData)
OdGePoint3d resizeVertexListArray(UInt32 nSize)
Teigha.Core.OdGiVertexData vb_vertexData()
void cloneFaceData(OdGiFaceData pFaceData)
void clearArrays(OdGiFaceData pFaceData)
OdGiFaceDataStorage faceDataStorage()
OdGiVertexDataStorage vertexDataStorage()
static HandleRef getCPtr(OdGiVertexData obj)