Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeTol.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 OdGeTol : 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 OdGeTol(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(OdGeTol obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdGeTol() {
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 OdGeTol(double t) : this(GlobalsPINVOKE.new_OdGeTol__SWIG_0(t), true) {
53 }
54
55 public OdGeTol() : this(GlobalsPINVOKE.new_OdGeTol__SWIG_1(), true) {
57 }
58
59 public OdGeTol(double t1, double t2) : this(GlobalsPINVOKE.new_OdGeTol__SWIG_2(t1, t2), true) {
61 }
62
63 public double equalPoint() {
64 double ret = GlobalsPINVOKE.OdGeTol_equalPoint(swigCPtr);
66 return ret;
67 }
68
69 public double equalVector() {
70 double ret = GlobalsPINVOKE.OdGeTol_equalVector(swigCPtr);
72 return ret;
73 }
74
75 public void setEqualPoint(double val) {
78 }
79
80 public void setEqualVector(double val) {
83 }
84
85}
86
87}
static global::System.Exception Retrieve()
static double OdGeTol_equalPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeTol_setEqualVector(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGeTol_equalVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeTol_setEqualPoint(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdGeTol(global::System.Runtime.InteropServices.HandleRef jarg1)
void setEqualVector(double val)
Definition: OdGeTol.cs:80
void setEqualPoint(double val)
Definition: OdGeTol.cs:75
virtual void Dispose(bool disposing)
Definition: OdGeTol.cs:39
OdGeTol(double t)
Definition: OdGeTol.cs:51
OdGeTol(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeTol.cs:21
double equalVector()
Definition: OdGeTol.cs:69
OdGeTol(double t1, double t2)
Definition: OdGeTol.cs:59
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
double equalPoint()
Definition: OdGeTol.cs:63