Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsCollisionDetectionContext.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 OdGsCollisionDetectionContext : 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 OdGsCollisionDetectionContext(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(OdGsCollisionDetectionContext 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 OdGsCollisionDetectionContext() : this(GlobalsPINVOKE.new_OdGsCollisionDetectionContext(), true) {
53 }
54
55 public void setIntersectionOnly(bool bSet) {
58 }
59
60 public bool intersectionOnly() {
63 return ret;
64 }
65
66 public void setIntersectionWithModel(bool bSet) {
69 }
70
71 public bool intersectionWithModel() {
74 return ret;
75 }
76
77 public void setIgnoreViewExtents(bool bSet) {
80 }
81
82 public bool ignoreViewExtents() {
85 return ret;
86 }
87
88 public void setCombineSubEntities(bool bSet) {
91 }
92
93 public bool combineSubEntities() {
96 return ret;
97 }
98
99 public void setToleranceOverride(OdGeTol tol) {
102 }
103
104 public bool isToleranceOverride() {
107 return ret;
108 }
109
113 return ret;
114 }
115
116 public void setCalculateDistance(bool bSet) {
119 }
120
121 public bool getCalculateDistance() {
124 return ret;
125 }
126
127 public void setCheckAll(bool bSet) {
130 }
131
132 public bool getCheckAll() {
135 return ret;
136 }
137
138 public void setClearance(double c) {
141 }
142
143 public double getClearance() {
146 return ret;
147 }
148
149 public void setProcessSignleList(bool bSet) {
152 }
153
154 public bool getProcessSignleList() {
157 return ret;
158 }
159
160}
161
162}
static global::System.Exception Retrieve()
static void OdGsCollisionDetectionContext_setIntersectionWithModel(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGsCollisionDetectionContext_getCheckAll(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setCombineSubEntities(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGsCollisionDetectionContext_combineSubEntities(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setProcessSignleList(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGsCollisionDetectionContext_isToleranceOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsCollisionDetectionContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsCollisionDetectionContext_getProcessSignleList(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setClearance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGsCollisionDetectionContext_intersectionWithModel(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsCollisionDetectionContext_ignoreViewExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setIgnoreViewExtents(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGsCollisionDetectionContext_getCalculateDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsCollisionDetectionContext_intersectionOnly(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setIntersectionOnly(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGsCollisionDetectionContext_setToleranceOverride(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGsCollisionDetectionContext_toleranceOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsCollisionDetectionContext_setCheckAll(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGsCollisionDetectionContext_setCalculateDistance(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdGsCollisionDetectionContext_getClearance(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGsCollisionDetectionContext obj)
OdGsCollisionDetectionContext(IntPtr cPtr, bool cMemoryOwn)