Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeExtents3d.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 OdGeExtents3d : 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 OdGeExtents3d(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(OdGeExtents3d 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 OdGeExtents3d() : this(GlobalsPINVOKE.new_OdGeExtents3d__SWIG_0(), true) {
53 }
54
55 public OdGeExtents3d(OdGePoint3d min, OdGePoint3d max) : this(GlobalsPINVOKE.new_OdGeExtents3d__SWIG_1(OdGePoint3d.getCPtr(min), OdGePoint3d.getCPtr(max)), true) {
57 }
58
59 public static OdGeExtents3d kInvalid {
60 get {
61 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeExtents3d_kInvalid_get();
62 OdGeExtents3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExtents3d(cPtr, false);
64 return ret;
65 }
66 }
67
71 return ret;
72 }
73
77 return ret;
78 }
79
80 public OdGePoint3d GetItem(int iIndex) {
81 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeExtents3d_GetItem__SWIG_0(swigCPtr, iIndex), false);
83 return ret;
84 }
85
86 public void set(OdGePoint3d min, OdGePoint3d max) {
89 }
90
91 public void comparingSet(OdGePoint3d pt1, OdGePoint3d pt2) {
94 }
95
99 return ret;
100 }
101
105 return ret;
106 }
107
111 return ret;
112 }
113
114 public bool isValidExtents() {
115 bool ret = GlobalsPINVOKE.OdGeExtents3d_isValidExtents(swigCPtr);
117 return ret;
118 }
119
120 public void expandBy(OdGeVector3d vect) {
123 }
124
125 public void transformBy(OdGeMatrix3d xfm) {
128 }
129
130 public bool contains(OdGePoint3d point, OdGeTol tol) {
133 return ret;
134 }
135
136 public bool contains(OdGeExtents3d extents, OdGeTol tol) {
139 return ret;
140 }
141
142 public bool isDisjoint(OdGeExtents3d extents, OdGeTol tol) {
145 return ret;
146 }
147
148 public bool isDisjoint(OdGeExtents3d extents) {
151 return ret;
152 }
153
154 public bool isDisjointEuclidean(OdGeExtents3d extents, OdGeTol tol) {
157 return ret;
158 }
159
160 public bool isDisjointEuclidean(OdGeExtents3d extents) {
163 return ret;
164 }
165
166 public double distanceTo(OdGePoint3d iPoint) {
169 return ret;
170 }
171
172 public double distanceTo(OdGeExtents3d iExtents) {
175 return ret;
176 }
177
181 return ret;
182 }
183
187 return ret;
188 }
189
190 public bool isWithinRange(OdGePoint3d pt, double radius) {
191 bool ret = GlobalsPINVOKE.OdGeExtents3d_isWithinRange(swigCPtr, OdGePoint3d.getCPtr(pt), radius);
193 return ret;
194 }
195
199 return ret;
200 }
201
205 return ret;
206 }
207
211 }
212
213 public void convert2d(OdGeExtents2d extents) {
216 }
217
221 }
222
223 public void setFrom2d(OdGeExtents2d extents) {
226 }
227
228 public bool isEqualTo(OdGeExtents3d extents, OdGeTol tol) {
231 return ret;
232 }
233
234 public bool isEqualTo(OdGeExtents3d extents) {
237 return ret;
238 }
239
240 public bool IsEqual(OdGeExtents3d extents) {
241 bool ret = GlobalsPINVOKE.OdGeExtents3d_IsEqual(swigCPtr, OdGeExtents3d.getCPtr(extents));
243 return ret;
244 }
245
246 public bool IsNotEqual(OdGeExtents3d extents) {
247 bool ret = GlobalsPINVOKE.OdGeExtents3d_IsNotEqual(swigCPtr, OdGeExtents3d.getCPtr(extents));
249 return ret;
250 }
251
252 public enum IntersectionStatus {
258 }
259
260 public enum Convert2dPlane {
261 kConvert2dPlaneXY = 0x04,
262 kConvert2dPlaneXZ = 0x08,
263 kConvert2dPlaneYX = 0x01,
264 kConvert2dPlaneYZ = 0x09,
265 kConvert2dPlaneZX = 0x02,
266 kConvert2dPlaneZY = 0x06
267 }
268
269}
270
271}
static global::System.Exception Retrieve()
static void OdGeExtents3d_convert2d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeExtents3d_setFrom2d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents3d_maxPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExtents3d_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeExtents3d_distanceTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents3d_isEqualTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeExtents3d_convert2d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static global::System.IntPtr OdGeExtents3d_addExt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents3d_contains__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents3d_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents3d_isDisjointEuclidean__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents3d_isDisjointEuclidean__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents3d_addPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents3d_isEqualTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeExtents3d_expandBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeExtents3d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents3d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExtents3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeExtents3d_distanceTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents3d_isDisjoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents3d_GetItem__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeExtents3d_diagonal(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExtents3d_contains__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents3d_isWithinRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static int OdGeExtents3d_intersectWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents3d_addPoints(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeExtents3d_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents3d_minPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExtents3d_setFrom2d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static bool OdGeExtents3d_isValidExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExtents3d_comparingSet(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents3d_kInvalid_get()
static bool OdGeExtents3d_isDisjoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeExtents3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeExtents2d obj)
void expandBy(OdGeVector3d vect)
OdGeExtents3d addExt(OdGeExtents3d extents)
void setFrom2d(OdGeExtents2d extents)
void convert2d(OdGeExtents2d extents)
bool IsEqual(OdGeExtents3d extents)
OdGeExtents3d addPoints(OdGePoint3dArray points)
double distanceTo(OdGePoint3d iPoint)
double distanceTo(OdGeExtents3d iExtents)
OdGeExtents3d.IntersectionStatus intersectWith(OdGeExtents3d extents)
OdGeExtents3d addPoint(OdGePoint3d point)
bool contains(OdGeExtents3d extents, OdGeTol tol)
bool contains(OdGePoint3d point, OdGeTol tol)
bool isEqualTo(OdGeExtents3d extents)
OdGeExtents3d(IntPtr cPtr, bool cMemoryOwn)
void transformBy(OdGeMatrix3d xfm)
bool isDisjoint(OdGeExtents3d extents, OdGeTol tol)
static HandleRef getCPtr(OdGeExtents3d obj)
virtual void Dispose(bool disposing)
OdGeExtents3d.IntersectionStatus intersectWith(OdGeExtents3d extents, OdGeExtents3d pResult)
bool isWithinRange(OdGePoint3d pt, double radius)
bool isEqualTo(OdGeExtents3d extents, OdGeTol tol)
OdGePoint3d GetItem(int iIndex)
void comparingSet(OdGePoint3d pt1, OdGePoint3d pt2)
bool isDisjoint(OdGeExtents3d extents)
OdGeExtents3d(OdGePoint3d min, OdGePoint3d max)
bool isDisjointEuclidean(OdGeExtents3d extents, OdGeTol tol)
bool isDisjointEuclidean(OdGeExtents3d extents)
bool IsNotEqual(OdGeExtents3d extents)
void convert2d(OdGeExtents2d extents, OdGeExtents3d.Convert2dPlane plane)
void setFrom2d(OdGeExtents2d extents, OdGeExtents3d.Convert2dPlane plane)
static OdGeExtents3d kInvalid
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3dArray obj)
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