Extended .NET SDK Documentation 2025 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
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
74
81
88
93
98
104
110
116
122
127
132
138
144
150
156
162
168
174
175 public double distanceTo(OdGeExtents3d iExtents) {
178 return ret;
179 }
180
186
192
193 public bool isWithinRange(OdGePoint3d pt, double radius) {
194 bool ret = GlobalsPINVOKE.OdGeExtents3d_isWithinRange(swigCPtr, OdGePoint3d.getCPtr(pt), radius);
196 return ret;
197 }
198
204
210
215
220
225
230
236
242
243 public bool IsEqual(OdGeExtents3d extents) {
244 bool ret = GlobalsPINVOKE.OdGeExtents3d_IsEqual(swigCPtr, OdGeExtents3d.getCPtr(extents));
246 return ret;
247 }
248
249 public bool IsNotEqual(OdGeExtents3d extents) {
250 bool ret = GlobalsPINVOKE.OdGeExtents3d_IsNotEqual(swigCPtr, OdGeExtents3d.getCPtr(extents));
252 return ret;
253 }
254
262
263 public enum Convert2dPlane {
264 kConvert2dPlaneXY = 0x04,
265 kConvert2dPlaneXZ = 0x08,
266 kConvert2dPlaneYX = 0x01,
267 kConvert2dPlaneYZ = 0x09,
268 kConvert2dPlaneZX = 0x02,
269 kConvert2dPlaneZY = 0x06
270 }
271
272}
273
274}
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)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)