Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
wrTriangulationParams.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 wrTriangulationParams : 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 wrTriangulationParams(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(wrTriangulationParams 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 UInt32 maxNumGridLines {
52 set {
53 /*SIMPLETYPE*/
56 }
57 get {
58 /*SIMPLETYPE*/
61 return ret;
62 }
63 }
64
65 public double maxFacetEdgeLength {
66 set {
69 }
70 get {
73 return ret;
74 }
75 }
76
77 public double normalTolerance {
78 set {
81 }
82 get {
85 return ret;
86 }
87 }
88
89 public double surfaceTolerance {
90 set {
93 }
94 get {
97 return ret;
98 }
99 }
100
101 public double gridAspectRatio {
102 set {
105 }
106 get {
109 return ret;
110 }
111 }
112
113 public UInt16 BetweenKnots {
114 set {
115 /*SIMPLETYPE*/
118 }
119 get {
120 /*SIMPLETYPE*/
123 return ret;
124 }
125 }
126
127 public UInt32 PointsPerEdge {
128 set {
129 /*SIMPLETYPE*/
132 }
133 get {
134 /*SIMPLETYPE*/
137 return ret;
138 }
139 }
140
142 set {
145 }
146 get {
149 return ret;
150 }
151 }
152
153 public bool bFastMode {
154 set {
157 }
158 get {
161 return ret;
162 }
163 }
164
165 public bool bUseTesselation {
166 set {
169 }
170 get {
173 return ret;
174 }
175 }
176
177 public wrTriangulationParams(bool bNewTess) : this(GlobalsPINVOKE.new_wrTriangulationParams__SWIG_0(bNewTess), true) {
179 }
180
181 public wrTriangulationParams() : this(GlobalsPINVOKE.new_wrTriangulationParams__SWIG_1(), true) {
183 }
184
185 public bool IsEqual(wrTriangulationParams other) {
188 return ret;
189 }
190
191}
192
193}
static global::System.Exception Retrieve()
static bool wrTriangulationParams_bUseTesselation_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void wrTriangulationParams_gridAspectRatio_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void wrTriangulationParams_maxFacetEdgeLength_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void wrTriangulationParams_surfaceTolerance_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void wrTriangulationParams_bRecalculateSurfaceTolerance_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void wrTriangulationParams_PointsPerEdge_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void wrTriangulationParams_bFastMode_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void wrTriangulationParams_bUseTesselation_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double wrTriangulationParams_maxFacetEdgeLength_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool wrTriangulationParams_bFastMode_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 wrTriangulationParams_maxNumGridLines_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void wrTriangulationParams_maxNumGridLines_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void wrTriangulationParams_normalTolerance_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double wrTriangulationParams_gridAspectRatio_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 wrTriangulationParams_PointsPerEdge_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double wrTriangulationParams_normalTolerance_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void wrTriangulationParams_BetweenKnots_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static bool wrTriangulationParams_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt16 wrTriangulationParams_BetweenKnots_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool wrTriangulationParams_bRecalculateSurfaceTolerance_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double wrTriangulationParams_surfaceTolerance_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_wrTriangulationParams(global::System.Runtime.InteropServices.HandleRef jarg1)
bool IsEqual(wrTriangulationParams other)
virtual void Dispose(bool disposing)
wrTriangulationParams(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(wrTriangulationParams obj)