Extended .NET SDK Documentation 2025 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 faceList) : this(GlobalsPINVOKE.new_OdGiShellFaceIterator__SWIG_1(OdGePoint3d.getCPtr(points), faceList /*SIMPLETYPE*/), true) {
57 }
58
59 public void set(OdGePoint3d points, Int32 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
77
79 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShellFaceIterator___deref__(swigCPtr);
80 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
82 return ret;
83 }
84
91
97
103
105 get {
106 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiShellFaceIterator_kOrigin_get(swigCPtr);
107 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
109 return ret;
110 }
111 }
112
118
124
125 public OdGePoint3d Mul(double scale) {
128 return ret;
129 }
130
131 public OdGePoint3d Div(double scale) {
134 return ret;
135 }
136
142
148
154
160
166
172
178
184
190
196
197 public double x {
198 get {
199 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_x_get(swigCPtr);
201 return ret;
202 }
203 }
204
205 public double y {
206 get {
207 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_y_get(swigCPtr);
209 return ret;
210 }
211 }
212
213 public double z {
214 get {
215 double ret = GlobalsPINVOKE.OdGiShellFaceIterator_z_get(swigCPtr);
217 return ret;
218 }
219 }
220
221}
222
223}
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_GetItem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
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_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)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
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)
OdGePoint3d project(OdGePlanarEnt plane, OdGeVector3d vect)
OdGePoint3d orthoProject(OdGePlane plane)