Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdIBrLoop.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 OdIBrLoop : OdIBrEntity {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdIBrLoop(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdIBrLoop_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdIBrLoop 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 virtual OdIBrFace getFace() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdIBrLoop_getFace(swigCPtr);
44 OdIBrFace ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdIBrFace(cPtr, false);
46 return ret;
47 }
48
49 public virtual void next(OdIBrVertex pFirstChild, OdIBrVertex pCurChild) {
50 GlobalsPINVOKE.OdIBrLoop_next__SWIG_0(swigCPtr, OdIBrVertex.getCPtr(pFirstChild), OdIBrVertex.getCPtr(pCurChild).Handle);
52 }
53
54 public virtual void next(OdIBrCoedge pFirstChild, OdIBrCoedge pCurChild) {
55 GlobalsPINVOKE.OdIBrLoop_next__SWIG_1(swigCPtr, OdIBrCoedge.getCPtr(pFirstChild), OdIBrCoedge.getCPtr(pCurChild).Handle);
57 }
58
59 public virtual OdIBrCoedge find(OdIBrEdge pEdge) {
60 global::System.IntPtr cPtr = GlobalsPINVOKE.OdIBrLoop_find(swigCPtr, OdIBrEdge.getCPtr(pEdge));
61 OdIBrCoedge ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdIBrCoedge(cPtr, false);
63 return ret;
64 }
65
66 public virtual OdGeCurve2d getParamCurve(OdIBrCoedge pIBrCoedge) {
67 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdIBrLoop_getParamCurve(swigCPtr, OdIBrCoedge.getCPtr(pIBrCoedge)), false);
68
70 return ret;
71}
72
73 public virtual bool getParamCurveAsNurb(OdIBrCoedge pIBrCoedge, OdGeNurbCurve2d nurb) {
76 return ret;
77 }
78
79 public virtual OdGeCurve3d getOrientedCurve(OdIBrCoedge pIBrCoedge) {
80 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdIBrLoop_getOrientedCurve(swigCPtr, OdIBrCoedge.getCPtr(pIBrCoedge)), false);
81
83 return ret;
84}
85
86 public virtual bool getOrientedCurveAsNurb(OdIBrCoedge pIBrCoedge, OdGeNurbCurve3d nurb) {
89 return ret;
90 }
91
92 public virtual bool getEdgeOrientToLoop(OdIBrCoedge pIBrCoedge) {
93 bool ret = GlobalsPINVOKE.OdIBrLoop_getEdgeOrientToLoop(swigCPtr, OdIBrCoedge.getCPtr(pIBrCoedge));
95 return ret;
96 }
97
98 public virtual BrLoopType getType() {
101 return ret;
102 }
103
104}
105
106}
static global::System.Exception Retrieve()
static global::System.IntPtr OdIBrLoop_find(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdIBrLoop(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdIBrLoop_getOrientedCurve(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdIBrLoop_getParamCurve(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdIBrLoop_getEdgeOrientToLoop(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdIBrLoop_next__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static int OdIBrLoop_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdIBrLoop_getOrientedCurveAsNurb(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdIBrLoop_next__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static global::System.IntPtr OdIBrLoop_getFace(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdIBrLoop_getParamCurveAsNurb(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdGeNurbCurve2d obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdIBrCoedge obj)
Definition: OdIBrCoedge.cs:25
static HandleRef getCPtr(OdIBrEdge obj)
Definition: OdIBrEdge.cs:25
virtual bool getEdgeOrientToLoop(OdIBrCoedge pIBrCoedge)
Definition: OdIBrLoop.cs:92
virtual void next(OdIBrVertex pFirstChild, OdIBrVertex pCurChild)
Definition: OdIBrLoop.cs:49
static HandleRef getCPtr(OdIBrLoop obj)
Definition: OdIBrLoop.cs:25
virtual OdIBrFace getFace()
Definition: OdIBrLoop.cs:42
virtual bool getOrientedCurveAsNurb(OdIBrCoedge pIBrCoedge, OdGeNurbCurve3d nurb)
Definition: OdIBrLoop.cs:86
virtual OdGeCurve2d getParamCurve(OdIBrCoedge pIBrCoedge)
Definition: OdIBrLoop.cs:66
virtual bool getParamCurveAsNurb(OdIBrCoedge pIBrCoedge, OdGeNurbCurve2d nurb)
Definition: OdIBrLoop.cs:73
virtual OdIBrCoedge find(OdIBrEdge pEdge)
Definition: OdIBrLoop.cs:59
override void Dispose(bool disposing)
Definition: OdIBrLoop.cs:29
virtual void next(OdIBrCoedge pFirstChild, OdIBrCoedge pCurChild)
Definition: OdIBrLoop.cs:54
virtual OdGeCurve3d getOrientedCurve(OdIBrCoedge pIBrCoedge)
Definition: OdIBrLoop.cs:79
virtual BrLoopType getType()
Definition: OdIBrLoop.cs:98
OdIBrLoop(IntPtr cPtr, bool cMemoryOwn)
Definition: OdIBrLoop.cs:20
static HandleRef getCPtr(OdIBrVertex obj)
Definition: OdIBrVertex.cs:25