Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsDCPoint.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 OdGsDCPoint : 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 OdGsDCPoint(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(OdGsDCPoint obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdGsDCPoint() {
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 OdGsDCPoint() : this(GlobalsPINVOKE.new_OdGsDCPoint__SWIG_0(), true) {
53 }
54
55 public OdGsDCPoint(Int32 /*SIMPLETYPE*/ xx, Int32 /*SIMPLETYPE*/ yy) : this(GlobalsPINVOKE.new_OdGsDCPoint__SWIG_1(xx /*SIMPLETYPE*/, yy /*SIMPLETYPE*/), true) {
57 }
58
59 public OdGsDCPoint(OdGsDCPoint.MaxFlag arg0) : this(GlobalsPINVOKE.new_OdGsDCPoint__SWIG_2((int)arg0), true) {
61 }
62
63 public OdGsDCPoint(OdGsDCPoint.MinFlag arg0) : this(GlobalsPINVOKE.new_OdGsDCPoint__SWIG_3((int)arg0), true) {
65 }
66
67 public void Assign(OdGsDCPoint.MaxFlag arg0) {
68 GlobalsPINVOKE.OdGsDCPoint_Assign__SWIG_0(swigCPtr, (int)arg0);
70 }
71
72 public void Assign(OdGsDCPoint.MinFlag arg0) {
73 GlobalsPINVOKE.OdGsDCPoint_Assign__SWIG_1(swigCPtr, (int)arg0);
75 }
76
77 public void Assign(OdGsDCPoint dcPoint) {
80 }
81
82 public bool IsEqual(OdGsDCPoint dcPoint) {
83 bool ret = GlobalsPINVOKE.OdGsDCPoint_IsEqual(swigCPtr, OdGsDCPoint.getCPtr(dcPoint));
85 return ret;
86 }
87
88 public bool IsNotEqual(OdGsDCPoint dcPoint) {
89 bool ret = GlobalsPINVOKE.OdGsDCPoint_IsNotEqual(swigCPtr, OdGsDCPoint.getCPtr(dcPoint));
91 return ret;
92 }
93
94 public int GetItem(uint i) {
95 int ret = GlobalsPINVOKE.OdGsDCPoint_GetItem(swigCPtr, i);
97 return ret;
98 }
99
100 public Int32 x {
101 set {
102 /*SIMPLETYPE*/
103 GlobalsPINVOKE.OdGsDCPoint_x_set(swigCPtr, value /*SIMPLETYPE*/);
105 }
106 get {
107 /*SIMPLETYPE*/
108 Int32 ret = GlobalsPINVOKE.OdGsDCPoint_x_get(swigCPtr);
110 return ret;
111 }
112 }
113
114 public Int32 y {
115 set {
116 /*SIMPLETYPE*/
117 GlobalsPINVOKE.OdGsDCPoint_y_set(swigCPtr, value /*SIMPLETYPE*/);
119 }
120 get {
121 /*SIMPLETYPE*/
122 Int32 ret = GlobalsPINVOKE.OdGsDCPoint_y_get(swigCPtr);
124 return ret;
125 }
126 }
127
128 public enum MaxFlag {
129 Maximum
130 }
131
132 public enum MinFlag {
133 Minimum
134 }
135
136}
137
138}
static global::System.Exception Retrieve()
static void OdGsDCPoint_y_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 OdGsDCPoint_x_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsDCPoint_Assign__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGsDCPoint_Assign__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGsDCPoint_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDCPoint_x_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdGsDCPoint_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGsDCPoint_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int32 OdGsDCPoint_y_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsDCPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGsDCPoint_GetItem(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
bool IsEqual(OdGsDCPoint dcPoint)
Definition: OdGsDCPoint.cs:82
OdGsDCPoint(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGsDCPoint.cs:21
OdGsDCPoint(OdGsDCPoint.MaxFlag arg0)
Definition: OdGsDCPoint.cs:59
virtual void Dispose(bool disposing)
Definition: OdGsDCPoint.cs:39
bool IsNotEqual(OdGsDCPoint dcPoint)
Definition: OdGsDCPoint.cs:88
void Assign(OdGsDCPoint.MaxFlag arg0)
Definition: OdGsDCPoint.cs:67
static HandleRef getCPtr(OdGsDCPoint obj)
Definition: OdGsDCPoint.cs:26
void Assign(OdGsDCPoint.MinFlag arg0)
Definition: OdGsDCPoint.cs:72
void Assign(OdGsDCPoint dcPoint)
Definition: OdGsDCPoint.cs:77
OdGsDCPoint(Int32 xx, Int32 yy)
Definition: OdGsDCPoint.cs:55
OdGsDCPoint(OdGsDCPoint.MinFlag arg0)
Definition: OdGsDCPoint.cs:63