Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiShellFaceIterator.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 OdGiShellFaceIterator : 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 OdGiShellFaceIterator(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(OdGiShellFaceIterator 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 OdGiShellFaceIterator() : this(GlobalsPINVOKE.new_OdGiShellFaceIterator__SWIG_0(), true) {
53 }
54
55 public OdGiShellFaceIterator(OdGePoint3d points, Int32 /*SIMPLETYPE*/ faceList) : this(GlobalsPINVOKE.new_OdGiShellFaceIterator__SWIG_1(OdGePoint3d.getCPtr(points), faceList /*SIMPLETYPE*/), true) {
57 }
58
59 public void set(OdGePoint3d points, Int32 /*SIMPLETYPE*/ faceList) {
60 GlobalsPINVOKE.OdGiShellFaceIterator_set(swigCPtr, OdGePoint3d.getCPtr(points), faceList /*SIMPLETYPE*/);
62 }
63
64 public Int32[] /*SIMPLE_ARRAY*/ faceListPos() {
65 /*SArr csout*/
66 Int32[] ret = Teigha.Core.Helpers.UnMarshalInt32FixedArray(GlobalsPINVOKE.OdGiShellFaceIterator_faceListPos(swigCPtr));
68 return ret;
69}
70
74 return ret;
75 }
76
78 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShellFaceIterator___deref__(swigCPtr);
79 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
81 return ret;
82 }
83
84 public OdGiShellFaceIterator Add(int n) {
87 return ret;
88 }
89
90 public OdGiShellFaceIterator Sub(int n) {
93 return ret;
94 }
95
97 get {
98 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShellFaceIterator_kOrigin_get(swigCPtr);
99 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
101 return ret;
102 }
103 }
104
108 return ret;
109 }
110
114 return ret;
115 }
116
117 public OdGePoint3d Mul(double scale) {
120 return ret;
121 }
122
123 public OdGePoint3d Div(double scale) {
126 return ret;
127 }
128
132 return ret;
133 }
134
138 return ret;
139 }
140
141 public double distanceTo(OdGePoint3d point) {
144 return ret;
145 }
146
147 public double distanceSqrdTo(OdGePoint3d point) {
150 return ret;
151 }
152
156 return ret;
157 }
158
162 return ret;
163 }
164
165 public bool IsEqual(OdGePoint3d point) {
168 return ret;
169 }
170
171 public bool IsNotEqual(OdGePoint3d point) {
174 return ret;
175 }
176
177 public bool isEqualTo(OdGePoint3d point, OdGeTol tol) {
180 return ret;
181 }
182
183 public bool isEqualTo(OdGePoint3d point) {
186 return ret;
187 }
188
189 public double GetItem(uint i) {
192 return ret;
193 }
194
195 public double x {
196 get {
197 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_x_get(swigCPtr);
199 return ret;
200 }
201 }
202
203 public double y {
204 get {
205 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_y_get(swigCPtr);
207 return ret;
208 }
209 }
210
211 public double z {
212 get {
213 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_z_get(swigCPtr);
215 return ret;
216 }
217 }
218
219}
220
221}
static global::System.Exception Retrieve()
static void delete_OdGiShellFaceIterator(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShellFaceIterator_orthoProject(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiShellFaceIterator_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_Div__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiShellFaceIterator_y_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShellFaceIterator_Add__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_Mul__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiShellFaceIterator_distanceSqrdTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_convert2d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_convert2d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiShellFaceIterator_faceListPos(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShellFaceIterator_asVector__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShellFaceIterator___ref__(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShellFaceIterator_Add(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static double OdGiShellFaceIterator_z_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShellFaceIterator_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_project(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGiShellFaceIterator_Sub__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiShellFaceIterator___deref__(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiShellFaceIterator_x_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShellFaceIterator_isEqualTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGiShellFaceIterator_GetItem__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static double OdGiShellFaceIterator_distanceTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShellFaceIterator_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, Int32 jarg3)
static bool OdGiShellFaceIterator_isEqualTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiShellFaceIterator_kOrigin_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePlanarEnt obj)
static HandleRef getCPtr(OdGePlane obj)
Definition: OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
bool isEqualTo(OdGePoint3d point, OdGeTol tol)
OdGiShellFaceIterator(OdGePoint3d points, Int32 faceList)
double distanceSqrdTo(OdGePoint3d point)
static HandleRef getCPtr(OdGiShellFaceIterator obj)
OdGiShellFaceIterator Add(int n)
OdGePoint2d convert2d(OdGePlanarEnt plane)
OdGiShellFaceIterator(IntPtr cPtr, bool cMemoryOwn)
OdGePoint3d Add(OdGeVector3d vect)
OdGiShellFaceIterator Sub(int n)
virtual void Dispose(bool disposing)
double distanceTo(OdGePoint3d point)
OdGePoint3d project(OdGePlanarEnt plane, OdGeVector3d vect)
OdGePoint3d orthoProject(OdGePlane plane)