Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdBrLoopEdgeTraverser.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdBrLoopEdgeTraverser(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdBrLoopEdgeTraverser_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdBrLoopEdgeTraverser obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public OdBrLoopEdgeTraverser() : this(GlobalsPINVOKE.new_OdBrLoopEdgeTraverser__SWIG_0(), true) {
44 }
45
46 public OdBrLoopEdgeTraverser(OdBrLoopEdgeTraverser arg0) : this(GlobalsPINVOKE.new_OdBrLoopEdgeTraverser__SWIG_1(OdBrLoopEdgeTraverser.getCPtr(arg0)), true) {
48 }
49
53 return ret;
54 }
55
57 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdBrLoopEdgeTraverser_getOrientedCurve(swigCPtr), false);
58
60 return ret;
61}
62
66 return ret;
67 }
68
70 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdBrLoopEdgeTraverser_getParamCurve(swigCPtr), false);
71
73 return ret;
74}
75
79 return ret;
80 }
81
82 public bool getEdgeOrientToLoop() {
85 return ret;
86 }
87
88 public OdBrEdge getEdge() {
91 return ret;
92 }
93
94 public OdBrLoop getLoop() {
97 return ret;
98 }
99
103 return ret;
104 }
105
109 return ret;
110 }
111
115 return ret;
116 }
117
121 return ret;
122 }
123
124}
125
126}
static global::System.Exception Retrieve()
static global::System.IntPtr OdBrLoopEdgeTraverser_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdBrLoopEdgeTraverser_setLoop__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdBrLoopEdgeTraverser_getParamCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdBrLoopEdgeTraverser_getEdgeOrientToLoop(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdBrLoopEdgeTraverser_getParamCurveAsNurb(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdBrLoopEdgeTraverser_setLoop__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdBrLoopEdgeTraverser_getEdge(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdBrLoopEdgeTraverser_getOrientedCurveAsNurb(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdBrLoopEdgeTraverser_getLoop(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdBrLoopEdgeTraverser_setLoopAndEdge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdBrLoopEdgeTraverser_setEdge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdBrLoopEdgeTraverser_getOrientedCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdBrLoopEdgeTraverser(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdBrEdge obj)
Definition: OdBrEdge.cs:25
static HandleRef getCPtr(OdBrEdgeLoopTraverser obj)
static HandleRef getCPtr(OdBrFaceLoopTraverser obj)
OdBrLoopEdgeTraverser(IntPtr cPtr, bool cMemoryOwn)
OdBrErrorStatus setLoop(OdBrLoop loop)
OdBrLoopEdgeTraverser Assign(OdBrLoopEdgeTraverser arg0)
bool getOrientedCurveAsNurb(OdGeNurbCurve3d nurb)
OdBrErrorStatus getParamCurveAsNurb(OdGeNurbCurve2d nurb)
OdBrErrorStatus setLoop(OdBrFaceLoopTraverser faceLoop)
OdBrErrorStatus setEdge(OdBrEdge edge)
OdBrLoopEdgeTraverser(OdBrLoopEdgeTraverser arg0)
static HandleRef getCPtr(OdBrLoopEdgeTraverser obj)
OdBrErrorStatus setLoopAndEdge(OdBrEdgeLoopTraverser edgeLoop)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdBrLoop obj)
Definition: OdBrLoop.cs:25
static HandleRef getCPtr(OdGeNurbCurve2d obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)