Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeExtents2d.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 OdGeExtents2d : 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 OdGeExtents2d(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(OdGeExtents2d 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 OdGeExtents2d() : this(GlobalsPINVOKE.new_OdGeExtents2d__SWIG_0(), true) {
53 }
54
55 public OdGeExtents2d(OdGePoint2d min, OdGePoint2d max) : this(GlobalsPINVOKE.new_OdGeExtents2d__SWIG_1(OdGePoint2d.getCPtr(min), OdGePoint2d.getCPtr(max)), true) {
57 }
58
59 public static OdGeExtents2d kInvalid {
60 get {
61 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeExtents2d_kInvalid_get();
62 OdGeExtents2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExtents2d(cPtr, false);
64 return ret;
65 }
66 }
67
71 return ret;
72 }
73
77 return ret;
78 }
79
83 return ret;
84 }
85
86 public void set(OdGePoint2d min, OdGePoint2d max) {
89 }
90
91 public void comparingSet(OdGePoint2d pt1, OdGePoint2d 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.OdGeExtents2d_isValidExtents(swigCPtr);
117 return ret;
118 }
119
120 public void expandBy(OdGeVector2d vect) {
123 }
124
125 public void transformBy(OdGeMatrix2d xfm) {
128 }
129
130 public void translate(OdGeVector2d iShift) {
133 }
134
135 public bool contains(OdGePoint2d point, OdGeTol tol) {
138 return ret;
139 }
140
141 public bool contains(OdGeExtents2d extents, OdGeTol tol) {
144 return ret;
145 }
146
147 public bool isDisjoint(OdGeExtents2d extents, OdGeTol tol) {
150 return ret;
151 }
152
153 public bool isDisjoint(OdGeExtents2d extents) {
156 return ret;
157 }
158
162 return ret;
163 }
164
168 return ret;
169 }
170
174 return ret;
175 }
176
177 public bool isEqualTo(OdGeExtents2d extents, OdGeTol tol) {
180 return ret;
181 }
182
183 public bool isEqualTo(OdGeExtents2d extents) {
186 return ret;
187 }
188
189 public bool IsEqual(OdGeExtents2d extents) {
190 bool ret = GlobalsPINVOKE.OdGeExtents2d_IsEqual(swigCPtr, OdGeExtents2d.getCPtr(extents));
192 return ret;
193 }
194
195 public bool IsNotEqual(OdGeExtents2d extents) {
196 bool ret = GlobalsPINVOKE.OdGeExtents2d_IsNotEqual(swigCPtr, OdGeExtents2d.getCPtr(extents));
198 return ret;
199 }
200
201 public enum IntersectionStatus {
207 }
208
209}
210
211}
static global::System.Exception Retrieve()
static void OdGeExtents2d_expandBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGeExtents2d_comparingSet(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents2d_isDisjoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents2d_isEqualTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents2d_diagonal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExtents2d_kInvalid_get()
static bool OdGeExtents2d_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeExtents2d_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents2d_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExtents2d_isEqualTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents2d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExtents2d_translate(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGeExtents2d_isDisjoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeExtents2d_intersectWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExtents2d_contains__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents2d_minPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExtents2d_maxPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExtents2d_isValidExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExtents2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeExtents2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExtents2d_contains__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExtents2d_addPoints(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeExtents2d_addExt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExtents2d_addPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeExtents2d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeExtents2d obj)
void transformBy(OdGeMatrix2d xfm)
bool isEqualTo(OdGeExtents2d extents, OdGeTol tol)
OdGeExtents2d addPoint(OdGePoint2d point)
bool IsEqual(OdGeExtents2d extents)
OdGeExtents2d(IntPtr cPtr, bool cMemoryOwn)
bool isDisjoint(OdGeExtents2d extents)
bool isDisjoint(OdGeExtents2d extents, OdGeTol tol)
virtual void Dispose(bool disposing)
void expandBy(OdGeVector2d vect)
bool IsNotEqual(OdGeExtents2d extents)
bool contains(OdGeExtents2d extents, OdGeTol tol)
OdGeExtents2d.IntersectionStatus intersectWith(OdGeExtents2d extents, OdGeExtents2d pResult)
bool isEqualTo(OdGeExtents2d extents)
void comparingSet(OdGePoint2d pt1, OdGePoint2d pt2)
void translate(OdGeVector2d iShift)
OdGeExtents2d(OdGePoint2d min, OdGePoint2d max)
OdGeExtents2d.IntersectionStatus intersectWith(OdGeExtents2d extents)
OdGeExtents2d addExt(OdGeExtents2d extents)
OdGeExtents2d addPoints(OdGePoint2dArray points)
static OdGeExtents2d kInvalid
bool contains(OdGePoint2d point, OdGeTol tol)
static HandleRef getCPtr(OdGeMatrix2d obj)
Definition: OdGeMatrix2d.cs:26
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26