Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiLoop.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 GiLoop : 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 GiLoop(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(GiLoop obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~GiLoop() {
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
57 {
58 // csvarout array
60
62 return res;
63 }
64
65 }
66
67 public GiLoop(OdGiEdge2dArray edges, UInt32 /*SIMPLETYPE*/ flags) : this(GlobalsPINVOKE.new_GiLoop(OdGiEdge2dArray.getCPtr(edges), flags /*SIMPLETYPE*/), true) {
69 }
70
71 public bool isPolyline() {
72 bool ret = GlobalsPINVOKE.GiLoop_isPolyline(swigCPtr);
74 return ret;
75 }
76
77 public bool isDerived() {
78 bool ret = GlobalsPINVOKE.GiLoop_isDerived(swigCPtr);
80 return ret;
81 }
82
83 public bool isTextBox() {
84 bool ret = GlobalsPINVOKE.GiLoop_isTextBox(swigCPtr);
86 return ret;
87 }
88
89 public bool isOuterMost() {
90 bool ret = GlobalsPINVOKE.GiLoop_isOuterMost(swigCPtr);
92 return ret;
93 }
94
95 public bool isNotClosed() {
96 bool ret = GlobalsPINVOKE.GiLoop_isNotClosed(swigCPtr);
98 return ret;
99 }
100
101 public bool isDuplicate() {
102 bool ret = GlobalsPINVOKE.GiLoop_isDuplicate(swigCPtr);
104 return ret;
105 }
106
107 public bool isTextIsland() {
108 bool ret = GlobalsPINVOKE.GiLoop_isTextIsland(swigCPtr);
110 return ret;
111 }
112
113 public bool isAnnotative() {
114 bool ret = GlobalsPINVOKE.GiLoop_isAnnotative(swigCPtr);
116 return ret;
117 }
118
119 public UInt32 getFlags() {
120// test csout
121 /*SIMPLETYPE*/
122 UInt32 ret = GlobalsPINVOKE.GiLoop_getFlags(swigCPtr);
124 return ret;
125 }
126
127}
128
129}
bool isNotClosed()
Definition: GiLoop.cs:95
static HandleRef getCPtr(GiLoop obj)
Definition: GiLoop.cs:26
bool isOuterMost()
Definition: GiLoop.cs:89
GiLoop(OdGiEdge2dArray edges, UInt32 flags)
Definition: GiLoop.cs:67
bool isTextBox()
Definition: GiLoop.cs:83
UInt32 getFlags()
Definition: GiLoop.cs:119
bool swigCMemOwn
Definition: GiLoop.cs:19
OdGiEdge2dArray m_edges
Definition: GiLoop.cs:51
virtual void Dispose(bool disposing)
Definition: GiLoop.cs:39
bool isTextIsland()
Definition: GiLoop.cs:107
bool isPolyline()
Definition: GiLoop.cs:71
bool isAnnotative()
Definition: GiLoop.cs:113
GiLoop(IntPtr cPtr, bool cMemoryOwn)
Definition: GiLoop.cs:21
void Dispose()
Definition: GiLoop.cs:34
bool isDuplicate()
Definition: GiLoop.cs:101
bool isDerived()
Definition: GiLoop.cs:77
static global::System.Exception Retrieve()
static bool GiLoop_isDuplicate(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isTextBox(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr GiLoop_m_edges_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_GiLoop(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isOuterMost(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isPolyline(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isAnnotative(global::System.Runtime.InteropServices.HandleRef jarg1)
static void GiLoop_m_edges_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool GiLoop_isTextIsland(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 GiLoop_getFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isNotClosed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool GiLoop_isDerived(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiEdge2dArray obj)