Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDb3dProfile.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDb3dProfile : OdRxObject {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDb3dProfile(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDb3dProfile_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDb3dProfile obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
46 return ret;
47 }
48
49 public new static OdRxClass desc() {
50 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDb3dProfile_desc(),false); /*createInt 3_2*/
51
53 return ret;
54}
55
56 public override OdRxClass isA() {
57 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDb3dProfile_isA(swigCPtr),false); /*createInt 3_2*/
58
60 return ret;
61}
62
63 public override OdRxObject queryX(OdRxClass protocolClass) {
64 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDb3dProfile_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
65
67 return ret;
68}
69
73 return ret;
74 }
75
79 return ret;
80 }
81
82 public override void copyFrom(OdRxObject src) {
85 }
86
87 public OdDbEntity entity() {
88 OdDbEntity ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),TD_DbPINVOKE.OdDb3dProfile_entity(swigCPtr),false); /*createInt 3_2*/
89
91 return ret;
92}
93
94 public OdResult set(OdDbEntity pEntity) {
97 return ret;
98 }
99
100 public OdResult set(OdDbVertexRef vertexRef) {
103 return ret;
104 }
105
109 return ret;
110 }
111
112 public OdResult set(OdDbPathRef pathRef) {
115 return ret;
116 }
117
121 return ret;
122 }
123
124 public bool isClosed(OdGeTol tol) {
127 return ret;
128 }
129
130 public bool isClosed() {
131 bool ret = TD_DbPINVOKE.OdDb3dProfile_isClosed__SWIG_1(swigCPtr);
133 return ret;
134 }
135
136 public bool isPlanar() {
137 bool ret = TD_DbPINVOKE.OdDb3dProfile_isPlanar(swigCPtr);
139 return ret;
140 }
141
142 public bool isSubent() {
143 bool ret = TD_DbPINVOKE.OdDb3dProfile_isSubent(swigCPtr);
145 return ret;
146 }
147
148 public bool isFace() {
149 bool ret = TD_DbPINVOKE.OdDb3dProfile_isFace(swigCPtr);
151 return ret;
152 }
153
154 public bool isEdge() {
155 bool ret = TD_DbPINVOKE.OdDb3dProfile_isEdge(swigCPtr);
157 return ret;
158 }
159
160 public bool isValid() {
161 bool ret = TD_DbPINVOKE.OdDb3dProfile_isValid(swigCPtr);
163 return ret;
164 }
165
169 return ret;
170 }
171
172 public static OdResult mergeProfiles(SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t profileArr, bool mergeEdges, bool mergeCurves, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t mergedProfileArr) {
173 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dProfile_mergeProfiles(SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t.getCPtr(profileArr), mergeEdges, mergeCurves, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t.getCPtr(mergedProfileArr));
175 return ret;
176 }
177
179 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDb3dProfile_convertProfile__SWIG_0(swigCPtr, SWIGTYPE_p_OdArrayT_OdDbPathRef_t.getCPtr(aPath));
180 OdDb3dProfile ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDb3dProfile(cPtr, false);
182 return ret;
183 }
184
185 public OdResult convertProfile(bool explodeMultiFaceRegions, bool convertSurfaceToEdges, bool nonPlanarOnly, bool outerLoopOnly, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t convertedProfileArr) {
186 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dProfile_convertProfile__SWIG_1(swigCPtr, explodeMultiFaceRegions, convertSurfaceToEdges, nonPlanarOnly, outerLoopOnly, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t.getCPtr(convertedProfileArr));
188 return ret;
189 }
190
195 public Teigha.TD.OdDbEntity vb_entity() { return this.entity(); }
196
197}
198
199}
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
bool isClosed(OdGeTol tol)
Teigha.TD.OdDbEntity vb_entity()
override void Dispose(bool disposing)
OdDb3dProfile Assign(OdDb3dProfile src)
static SWIGTYPE_p_OdSmartPtrT_OdDb3dProfile_t createObject(OdDbFullSubentPath faceSubentPath)
override void copyFrom(OdRxObject src)
OdResult convertProfile(bool explodeMultiFaceRegions, bool convertSurfaceToEdges, bool nonPlanarOnly, bool outerLoopOnly, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t convertedProfileArr)
OdResult getPathRef(OdDbPathRef pathRef)
static SWIGTYPE_p_OdSmartPtrT_OdDb3dProfile_t cast(OdRxObject pObj)
OdDb3dProfile convertProfile(SWIGTYPE_p_OdArrayT_OdDbPathRef_t aPath)
OdDb3dProfile(IntPtr cPtr, bool cMemoryOwn)
static new OdRxClass desc()
override OdRxClass isA()
static SWIGTYPE_p_OdSmartPtrT_OdDb3dProfile_t createObject()
static HandleRef getCPtr(OdDb3dProfile obj)
OdResult getVertexRef(OdDbVertexRef vertexRef)
static OdResult mergeProfiles(SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t profileArr, bool mergeEdges, bool mergeCurves, SWIGTYPE_p_OdArrayT_OdDb3dProfile_p_t mergedProfileArr)
override OdRxObject queryX(OdRxClass protocolClass)
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26
static HandleRef getCPtr(OdDbFullSubentPath obj)
static HandleRef getCPtr(OdDbPathRef obj)
Definition: OdDbPathRef.cs:26
static HandleRef getCPtr(OdDbVertexRef obj)
static global::System.Exception Retrieve()
static int OdDb3dProfile_getPathRef(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdDb3dProfile_copyFrom(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdDb3dProfile_isPlanar(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDb3dProfile_entity(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDb3dProfile_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdDb3dProfile_isFace(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDb3dProfile_cast(HandleRef jarg1)
static int OdDb3dProfile_getVertexRef(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDb3dProfile_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDb3dProfile_convertProfile__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDb3dProfile_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDb3dProfile_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int OdDb3dProfile_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdDb3dProfile_isValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDb3dProfile(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDb3dProfile_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDb3dProfile_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDb3dProfile_desc()
static bool OdDb3dProfile_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDb3dProfile_isEdge(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDb3dProfile_convertProfile__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3, bool jarg4, bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static global::System.IntPtr OdDb3dProfile_createObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDb3dProfile_createObject__SWIG_0()
static int OdDb3dProfile_mergeProfiles(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdDb3dProfile_isSubent(global::System.Runtime.InteropServices.HandleRef jarg1)