Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
SPAParameters.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class SPAParameters : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public SPAParameters(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(SPAParameters obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
53 set {
56 }
57 get {
60 return ret;
61 }
62 }
63
65 set {
68 }
69 get {
72 return ret;
73 }
74 }
75
77 set {
80 }
81 get {
84 return ret;
85 }
86 }
87
88 public double surface_tol {
89 set {
92 }
93 get {
94 double ret = TD_DbPINVOKE.SPAParameters_surface_tol_get(swigCPtr);
96 return ret;
97 }
98 }
99
100 public double normal_tol {
101 set {
104 }
105 get {
106 double ret = TD_DbPINVOKE.SPAParameters_normal_tol_get(swigCPtr);
108 return ret;
109 }
110 }
111
112 public double max_edge_length {
113 set {
116 }
117 get {
118 double ret = TD_DbPINVOKE.SPAParameters_max_edge_length_get(swigCPtr);
120 return ret;
121 }
122 }
123
124 public double grid_aspect_ratio {
125 set {
128 }
129 get {
132 return ret;
133 }
134 }
135
136 public int max_grid_lines {
137 set {
140 }
141 get {
144 return ret;
145 }
146 }
147
148 public int min_u_grid_lines {
149 set {
152 }
153 get {
156 return ret;
157 }
158 }
159
160 public int min_v_grid_lines {
161 set {
164 }
165 get {
168 return ret;
169 }
170 }
171
172 public bool bUseFacetRES {
173 set {
176 }
177 get {
178 bool ret = TD_DbPINVOKE.SPAParameters_bUseFacetRES_get(swigCPtr);
180 return ret;
181 }
182 }
183
184 public int check_level {
185 set {
188 }
189 get {
192 return ret;
193 }
194 }
195
197 set {
200 }
201 get {
204 return ret;
205 }
206 }
207
208 public SPAParameters() : this(TD_DbPINVOKE.new_SPAParameters(), true) {
210 }
211
212 public bool IsEqual(SPAParameters other) {
213 bool ret = TD_DbPINVOKE.SPAParameters_IsEqual(swigCPtr, SPAParameters.getCPtr(other));
215 return ret;
216 }
217
218 public enum SPA_ADJUST {
222 }
223
224 public enum SPA_GRID {
229 }
230
231 public enum SPA_TRIANG_MODE {
238 }
239
240}
241
242}
SPAParameters.SPA_TRIANG_MODE triang_mode
SPAParameters(IntPtr cPtr, bool cMemoryOwn)
bool IsEqual(SPAParameters other)
SPAParameters.SPA_GRID grid_mode
virtual void Dispose(bool disposing)
SPAParameters.SPA_ADJUST adjust_mode
static HandleRef getCPtr(SPAParameters obj)
static global::System.Exception Retrieve()
static double SPAParameters_grid_aspect_ratio_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_SPAParameters(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_grid_mode_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int SPAParameters_min_u_grid_lines_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double SPAParameters_mass_props_req_rel_accy_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_triang_mode_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static double SPAParameters_max_edge_length_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_grid_aspect_ratio_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool SPAParameters_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int SPAParameters_triang_mode_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int SPAParameters_max_grid_lines_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double SPAParameters_surface_tol_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_check_level_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void SPAParameters_min_u_grid_lines_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int SPAParameters_adjust_mode_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_max_grid_lines_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void SPAParameters_max_edge_length_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int SPAParameters_grid_mode_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double SPAParameters_normal_tol_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_mass_props_req_rel_accy_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void SPAParameters_min_v_grid_lines_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void SPAParameters_normal_tol_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void SPAParameters_adjust_mode_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int SPAParameters_min_v_grid_lines_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool SPAParameters_bUseFacetRES_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int SPAParameters_check_level_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SPAParameters_bUseFacetRES_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void SPAParameters_surface_tol_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)