Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiLoopListCustom.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 GiLoopListCustom : 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 GiLoopListCustom(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(GiLoopListCustom 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 UInt32 startLoopNum {
52 get {
53 /*SIMPLETYPE*/
56 return ret;
57 }
58 }
59
60 public UInt32 countLoops {
61 get {
62 /*SIMPLETYPE*/
65 return ret;
66 }
67 }
68
70 set {
73 }
74 get {
75 global::System.IntPtr cPtr = GlobalsPINVOKE.GiLoopListCustom_mLoopList_get(swigCPtr);
76 SWIGTYPE_p_OdArrayT_GiLoop_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OdArrayT_GiLoop_t(cPtr, false);
78 return ret;
79 }
80 }
81
82 public GiLoopListCustom(UInt32 /*SIMPLETYPE*/ startLoopNumIn, UInt32 /*SIMPLETYPE*/ countLoopsIn) : this(GlobalsPINVOKE.new_GiLoopListCustom(startLoopNumIn /*SIMPLETYPE*/, countLoopsIn /*SIMPLETYPE*/), true) {
84 }
85
86 public void appendLoop(OdGiEdge2dArray giEdgeArray, UInt32 /*SIMPLETYPE*/ flags) {
87 GlobalsPINVOKE.GiLoopListCustom_appendLoop(swigCPtr, OdGiEdge2dArray.getCPtr(giEdgeArray), flags /*SIMPLETYPE*/);
89 }
90
91}
92
93}
GiLoopListCustom(UInt32 startLoopNumIn, UInt32 countLoopsIn)
SWIGTYPE_p_OdArrayT_GiLoop_t mLoopList
void appendLoop(OdGiEdge2dArray giEdgeArray, UInt32 flags)
GiLoopListCustom(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(GiLoopListCustom obj)
virtual void Dispose(bool disposing)
static global::System.Exception Retrieve()
static UInt32 GiLoopListCustom_countLoops_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_GiLoopListCustom(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr GiLoopListCustom_mLoopList_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void GiLoopListCustom_appendLoop(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static UInt32 GiLoopListCustom_startLoopNum_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void GiLoopListCustom_mLoopList_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGiEdge2dArray obj)