Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGe.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 OdGe : 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 OdGe(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(OdGe obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdGe() {
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
54
55 public const int eGood = 0;
56 public const int eBad = eGood + 1;
57
58 public enum EntityId {
77 kLine2d,
78 kLine3d,
84 kPlane,
85 kRay2d,
86 kRay3d,
88 kSphere,
90 kTorus,
91 kCone,
126 kObject,
128 kHatch,
139 kHelix,
143 kRuled,
146 kDummy1,
147 kDummy2,
148 kDummy3,
149 kDummy4,
150 kDummy5,
151 kDummy6,
152 kDummy7,
153 kDummy8,
154 kDummy9
155 }
156
165
166 public enum PointContainment {
167 kInside,
168 kOutside,
170 }
171
173 kUninit = 0x00,
174 kOpen = 0x01,
175 kClosed = 0x02,
176 kPeriodic = 0x04,
177 kRational = 0x08,
178 kNoPoles = 0x10,
179 kPoleAtMin = 0x20,
180 kPoleAtMax = 0x40,
181 kPoleAtBoth = 0x80
182 }
183
184 public enum OffsetCrvExtType {
185 kFillet,
186 kChamfer,
187 kExtend
188 }
189
190 public enum OdGeXConfig {
191 kNotDefined = 1 << 0,
192 kUnknown = 1 << 1,
193 kLeftRight = 1 << 2,
194 kRightLeft = 1 << 3,
195 kLeftLeft = 1 << 4,
196 kRightRight = 1 << 5,
197 kPointLeft = 1 << 6,
198 kPointRight = 1 << 7,
199 kLeftOverlap = 1 << 8,
200 kOverlapLeft = 1 << 9,
201 kRightOverlap = 1 << 10,
202 kOverlapRight = 1 << 11,
203 kOverlapStart = 1 << 12,
204 kOverlapEnd = 1 << 13,
205 kOverlapOverlap = 1 << 14
206 }
207
208 public enum BooleanType {
209 kUnion,
210 kSubtract,
211 kCommon
212 }
213
214 public enum ClipError {
215 eOk,
218 }
219
228
246
247 public enum csiConfig {
248 kXUnknown,
249 kXOut,
250 kXIn,
251 kXTanOut,
252 kXTanIn,
255 }
256
257 public enum ssiType {
261 }
262
263 public enum ssiConfig {
265 kSSIOut,
266 kSSIIn,
268 }
269
276
278 kChord = 0x0,
279 kSqrtChord = 0x1,
280 kUniform = 0x2,
283 }
284
285}
286
287}
static global::System.Exception Retrieve()
static void delete_OdGe(global::System.Runtime.InteropServices.HandleRef jarg1)
const int eBad
Definition OdGe.cs:56
OdGeKnotParameterization
Definition OdGe.cs:277
bool swigCMemOwn
Definition OdGe.cs:19
static HandleRef getCPtr(OdGe obj)
Definition OdGe.cs:26
const int eGood
Definition OdGe.cs:55
virtual void Dispose(bool disposing)
Definition OdGe.cs:39
OdGe(IntPtr cPtr, bool cMemoryOwn)
Definition OdGe.cs:21
void Dispose()
Definition OdGe.cs:34