Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbLoftOptions.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 OdDbLoftOptions : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDbLoftOptions(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDbLoftOptions obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public OdDbLoftOptions() : this(TD_DbPINVOKE.new_OdDbLoftOptions__SWIG_0(), true) {
54 }
55
56 public OdDbLoftOptions(OdDbLoftOptions src) : this(TD_DbPINVOKE.new_OdDbLoftOptions__SWIG_1(OdDbLoftOptions.getCPtr(src)), true) {
58 }
59
63 return ret;
64 }
65
66 public bool IsEqual(OdDbLoftOptions opt) {
69 return ret;
70 }
71
72 public double draftStart() {
73 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftStart(swigCPtr);
75 return ret;
76 }
77
78 public void setDraftStart(double angle) {
81 }
82
83 public double draftEnd() {
84 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftEnd(swigCPtr);
86 return ret;
87 }
88
89 public void setDraftEnd(double angle) {
92 }
93
94 public double draftStartMag() {
95 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftStartMag(swigCPtr);
97 return ret;
98 }
99
100 public void setDraftStartMag(double startMag) {
103 }
104
105 public double draftEndMag() {
106 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftEndMag(swigCPtr);
108 return ret;
109 }
110
111 public void setDraftEndMag(double val) {
114 }
115
116 public bool arcLengthParam() {
117 bool ret = TD_DbPINVOKE.OdDbLoftOptions_arcLengthParam(swigCPtr);
119 return ret;
120 }
121
122 public void setArcLengthParam(bool alParam) {
125 }
126
127 public bool noTwist() {
128 bool ret = TD_DbPINVOKE.OdDbLoftOptions_noTwist(swigCPtr);
130 return ret;
131 }
132
133 public void setNoTwist(bool noTwist) {
136 }
137
138 public bool alignDirection() {
139 bool ret = TD_DbPINVOKE.OdDbLoftOptions_alignDirection(swigCPtr);
141 return ret;
142 }
143
144 public void setAlignDirection(bool alignDir) {
147 }
148
149 public bool simplify() {
150 bool ret = TD_DbPINVOKE.OdDbLoftOptions_simplify(swigCPtr);
152 return ret;
153 }
154
155 public void setSimplify(bool simplify) {
158 }
159
160 public bool closed() {
161 bool ret = TD_DbPINVOKE.OdDbLoftOptions_closed(swigCPtr);
163 return ret;
164 }
165
166 public void setClosed(bool closed) {
169 }
170
171 public bool ruled() {
172 bool ret = TD_DbPINVOKE.OdDbLoftOptions_ruled(swigCPtr);
174 return ret;
175 }
176
177 public void setRuled(bool ruled) {
180 }
181
182 public bool virtualGuide() {
183 bool ret = TD_DbPINVOKE.OdDbLoftOptions_virtualGuide(swigCPtr);
185 return ret;
186 }
187
188 public void setVirtualGuide(bool virtGuide) {
191 }
192
196 return ret;
197 }
198
200 TD_DbPINVOKE.OdDbLoftOptions_setNormal(swigCPtr, (int)option);
202 }
203
207 return ret;
208 }
209
213 return ret;
214 }
215
216 public OdResult checkOptions(bool displayErrorMessages) {
217 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkOptions__SWIG_0(swigCPtr, displayErrorMessages);
219 return ret;
220 }
221
225 return ret;
226 }
227
228 public OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages) {
229 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkLoftCurves__SWIG_0(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), OdDbEntityPtrArray.getCPtr(guideCurves), OdDbEntity.getCPtr(pPathCurve), out allOpen, out allClosed, out allPlanar, displayErrorMessages);
231 return ret;
232 }
233
234 public OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar) {
235 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkLoftCurves__SWIG_1(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), OdDbEntityPtrArray.getCPtr(guideCurves), OdDbEntity.getCPtr(pPathCurve), out allOpen, out allClosed, out allPlanar);
237 return ret;
238 }
239
240 public OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages) {
241 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkCrossSectionCurves__SWIG_0(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), out allOpen, out allClosed, out allPlanar, displayErrorMessages);
243 return ret;
244 }
245
246 public OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar) {
247 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkCrossSectionCurves__SWIG_1(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), out allOpen, out allClosed, out allPlanar);
249 return ret;
250 }
251
252 public OdResult checkGuideCurves(OdDbEntityPtrArray guideCurves, bool displayErrorMessages) {
253 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkGuideCurves__SWIG_0(swigCPtr, OdDbEntityPtrArray.getCPtr(guideCurves), displayErrorMessages);
255 return ret;
256 }
257
261 return ret;
262 }
263
264 public OdResult checkPathCurve(OdDbEntity pPathCurve, bool displayErrorMessages) {
265 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkPathCurve__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pPathCurve), displayErrorMessages);
267 return ret;
268 }
269
270 public OdResult checkPathCurve(OdDbEntity pPathCurve) {
273 return ret;
274 }
275
276 public enum NormalOption {
277 kNoNormal = 0,
278 kFirstNormal = 1,
279 kLastNormal = 2,
280 kEndsNormal = 3,
281 kAllNormal = 4,
283 }
284
285}
286
287}
static HandleRef getCPtr(OdDbDatabase obj)
Definition: OdDbDatabase.cs:26
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26
static HandleRef getCPtr(OdDbEntityPtrArray obj)
OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages)
OdDbLoftOptions(OdDbLoftOptions src)
void setAlignDirection(bool alignDir)
static HandleRef getCPtr(OdDbLoftOptions obj)
OdResult setSysvarsFromOptions(OdDbDatabase pDb)
virtual void Dispose(bool disposing)
void setSimplify(bool simplify)
bool IsEqual(OdDbLoftOptions opt)
void setNormal(OdDbLoftOptions.NormalOption option)
OdResult checkGuideCurves(OdDbEntityPtrArray guideCurves, bool displayErrorMessages)
OdResult checkOptions(bool displayErrorMessages)
void setNoTwist(bool noTwist)
OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar)
void setVirtualGuide(bool virtGuide)
void setDraftEndMag(double val)
void setDraftStart(double angle)
OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar)
OdResult checkPathCurve(OdDbEntity pPathCurve, bool displayErrorMessages)
OdResult checkPathCurve(OdDbEntity pPathCurve)
OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages)
OdDbLoftOptions(IntPtr cPtr, bool cMemoryOwn)
OdDbLoftOptions.NormalOption normal()
void setDraftEnd(double angle)
OdResult checkGuideCurves(OdDbEntityPtrArray guideCurves)
void setDraftStartMag(double startMag)
OdResult setOptionsFromSysvars(OdDbDatabase pDb)
void setClosed(bool closed)
void setArcLengthParam(bool alParam)
OdDbLoftOptions Assign(OdDbLoftOptions rhs)
static global::System.Exception Retrieve()
static void delete_OdDbLoftOptions(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLoftOptions_noTwist(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_setOptionsFromSysvars(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdDbLoftOptions_draftEndMag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setAlignDirection(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDbLoftOptions_checkOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLoftOptions_setDraftStartMag(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbLoftOptions_normal(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setVirtualGuide(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdDbLoftOptions_draftStartMag(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_checkCrossSectionCurves__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out bool jarg3, out bool jarg4, out bool jarg5, bool jarg6)
static void OdDbLoftOptions_setNoTwist(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLoftOptions_setSimplify(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDbLoftOptions_ruled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setArcLengthParam(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDbLoftOptions_checkLoftCurves__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, out bool jarg5, out bool jarg6, out bool jarg7)
static int OdDbLoftOptions_checkCrossSectionCurves__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out bool jarg3, out bool jarg4, out bool jarg5)
static bool OdDbLoftOptions_closed(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_checkLoftCurves__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, out bool jarg5, out bool jarg6, out bool jarg7, bool jarg8)
static bool OdDbLoftOptions_simplify(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setDraftEndMag(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbLoftOptions_checkPathCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int OdDbLoftOptions_checkGuideCurves__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdDbLoftOptions_setDraftEnd(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDbLoftOptions_setClosed(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDbLoftOptions_alignDirection(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_checkPathCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static bool OdDbLoftOptions_virtualGuide(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_checkGuideCurves__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbLoftOptions_checkOptions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLoftOptions_setSysvarsFromOptions(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdDbLoftOptions_draftEnd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setDraftStart(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDbLoftOptions_setRuled(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLoftOptions_setNormal(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDbLoftOptions_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbLoftOptions_arcLengthParam(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbLoftOptions_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbLoftOptions_draftStart(global::System.Runtime.InteropServices.HandleRef jarg1)