Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsDCRectDouble.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 OdGsDCRectDouble : 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 OdGsDCRectDouble(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(OdGsDCRectDouble 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 OdGsDCRectDouble() : this(GlobalsPINVOKE.new_OdGsDCRectDouble__SWIG_0(), true) {
53 }
54
55 public OdGsDCRectDouble(OdGePoint2d minPoint, OdGePoint2d maxPoint) : this(GlobalsPINVOKE.new_OdGsDCRectDouble__SWIG_1(OdGePoint2d.getCPtr(minPoint), OdGePoint2d.getCPtr(maxPoint)), true) {
57 }
58
59 public OdGsDCRectDouble(double xMin, double xMax, double yMin, double yMax) : this(GlobalsPINVOKE.new_OdGsDCRectDouble__SWIG_2(xMin, xMax, yMin, yMax), true) {
61 }
62
63 public OdGsDCRectDouble(OdGsDCRect rc) : this(GlobalsPINVOKE.new_OdGsDCRectDouble__SWIG_3(OdGsDCRect.getCPtr(rc)), true) {
65 }
66
70 return ret;
71 }
72
73 public bool IsEqual(OdGsDCRectDouble dcRect) {
76 return ret;
77 }
78
79 public bool IsNotEqual(OdGsDCRectDouble dcRect) {
82 return ret;
83 }
84
85 public OdGsDCRect round() {
88 return ret;
89 }
90
92 set {
95 }
96 get {
97 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGsDCRectDouble_m_min_get(swigCPtr);
98 OdGePoint2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint2d(cPtr, false);
100 return ret;
101 }
102 }
103
105 set {
108 }
109 get {
110 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGsDCRectDouble_m_max_get(swigCPtr);
111 OdGePoint2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint2d(cPtr, false);
113 return ret;
114 }
115 }
116
117}
118
119}
static global::System.Exception Retrieve()
static void delete_OdGsDCRectDouble(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsDCRectDouble_m_max_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsDCRectDouble_round(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsDCRectDouble_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDCRectDouble_m_min_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGsDCRectDouble_m_min_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsDCRectDouble_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGsDCRectDouble_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDCRectDouble_m_max_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGsDCRectDouble obj)
bool IsEqual(OdGsDCRectDouble dcRect)
virtual void Dispose(bool disposing)
OdGsDCRectDouble(IntPtr cPtr, bool cMemoryOwn)
OdGsDCRectDouble Assign(OdGsDCRect dcRect)
OdGsDCRectDouble(double xMin, double xMax, double yMin, double yMax)
OdGsDCRectDouble(OdGePoint2d minPoint, OdGePoint2d maxPoint)
bool IsNotEqual(OdGsDCRectDouble dcRect)
static HandleRef getCPtr(OdGsDCRect obj)
Definition: OdGsDCRect.cs:26