Extended .NET SDK Documentation 2024 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
51 public OdGe() : this(GlobalsPINVOKE.new_OdGe(), true) {
53 }
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,
145 kDummy1,
146 kDummy2,
147 kDummy3,
148 kDummy4,
149 kDummy5,
150 kDummy6,
151 kDummy7,
152 kDummy8,
153 kDummy9
154 }
155
156 public enum ExternalEntityKind {
157 kAcisEntity = 0,
163 }
164
165 public enum PointContainment {
166 kInside,
167 kOutside,
169 }
170
172 kUninit = 0x00,
173 kOpen = 0x01,
174 kClosed = 0x02,
175 kPeriodic = 0x04,
176 kRational = 0x08,
177 kNoPoles = 0x10,
178 kPoleAtMin = 0x20,
179 kPoleAtMax = 0x40,
180 kPoleAtBoth = 0x80
181 }
182
183 public enum OffsetCrvExtType {
184 kFillet,
185 kChamfer,
186 kExtend
187 }
188
189 public enum OdGeXConfig {
190 kNotDefined = 1 << 0,
191 kUnknown = 1 << 1,
192 kLeftRight = 1 << 2,
193 kRightLeft = 1 << 3,
194 kLeftLeft = 1 << 4,
195 kRightRight = 1 << 5,
196 kPointLeft = 1 << 6,
197 kPointRight = 1 << 7,
198 kLeftOverlap = 1 << 8,
199 kOverlapLeft = 1 << 9,
200 kRightOverlap = 1 << 10,
201 kOverlapRight = 1 << 11,
202 kOverlapStart = 1 << 12,
203 kOverlapEnd = 1 << 13,
204 kOverlapOverlap = 1 << 14
205 }
206
207 public enum BooleanType {
208 kUnion,
209 kSubtract,
210 kCommon
211 }
212
213 public enum ClipError {
214 eOk,
217 }
218
219 public enum ClipCondition {
220 kInvalid,
226 }
227
228 public enum ErrorCondition {
229 kOk,
230 k0This,
231 k0Arg1,
232 k0Arg2,
244 }
245
246 public enum csiConfig {
247 kXUnknown,
248 kXOut,
249 kXIn,
250 kXTanOut,
251 kXTanIn,
254 }
255
256 public enum ssiType {
260 }
261
262 public enum ssiConfig {
264 kSSIOut,
265 kSSIIn,
267 }
268
269 public enum OdGeIntersectError {
270 kXXOk,
274 }
275
277 kChord = 0x0,
278 kSqrtChord = 0x1,
279 kUniform = 0x2,
282 }
283
284}
285
286}
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:276
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
NurbSurfaceProperties
Definition: OdGe.cs:171