Extended .NET SDK Documentation 2025 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 xx, Int32 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
71
76
82
83 public bool IsEqual(OdGsDCPoint dcPoint) {
84 bool ret = GlobalsPINVOKE.OdGsDCPoint_IsEqual(swigCPtr, OdGsDCPoint.getCPtr(dcPoint));
86 return ret;
87 }
88
89 public bool IsNotEqual(OdGsDCPoint dcPoint) {
90 bool ret = GlobalsPINVOKE.OdGsDCPoint_IsNotEqual(swigCPtr, OdGsDCPoint.getCPtr(dcPoint));
92 return ret;
93 }
94
95 public int GetItem(uint i) {
96 int ret = GlobalsPINVOKE.OdGsDCPoint_GetItem(swigCPtr, i);
98 return ret;
99 }
100
101 public Int32 x {
102 set {
103 /*SIMPLETYPE*/
104 GlobalsPINVOKE.OdGsDCPoint_x_set(swigCPtr, value /*SIMPLETYPE*/);
106 }
107 get {
108 /*SIMPLETYPE*/
109 Int32 ret = GlobalsPINVOKE.OdGsDCPoint_x_get(swigCPtr);
111 return ret;
112 }
113 }
114
115 public Int32 y {
116 set {
117 /*SIMPLETYPE*/
118 GlobalsPINVOKE.OdGsDCPoint_y_set(swigCPtr, value /*SIMPLETYPE*/);
120 }
121 get {
122 /*SIMPLETYPE*/
123 Int32 ret = GlobalsPINVOKE.OdGsDCPoint_y_get(swigCPtr);
125 return ret;
126 }
127 }
128
129 public enum MaxFlag {
130 Maximum
131 }
132
133 public enum MinFlag {
134 Minimum
135 }
136
137}
138
139}
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 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 global::System.IntPtr OdGsDCPoint_Assign__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef 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)
OdGsDCPoint(IntPtr cPtr, bool cMemoryOwn)
OdGsDCPoint(OdGsDCPoint.MaxFlag arg0)
virtual void Dispose(bool disposing)
bool IsNotEqual(OdGsDCPoint dcPoint)
void Assign(OdGsDCPoint.MaxFlag arg0)
static HandleRef getCPtr(OdGsDCPoint obj)
void Assign(OdGsDCPoint.MinFlag arg0)
OdGsDCPoint(Int32 xx, Int32 yy)
OdGsDCPoint Assign(OdGsDCPoint dcPoint)
OdGsDCPoint(OdGsDCPoint.MinFlag arg0)