Extended .NET SDK Documentation 2025 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
59
65
71
72 public double draftStart() {
73 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftStart(swigCPtr);
75 return ret;
76 }
77
82
83 public double draftEnd() {
84 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftEnd(swigCPtr);
86 return ret;
87 }
88
93
94 public double draftStartMag() {
95 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftStartMag(swigCPtr);
97 return ret;
98 }
99
104
105 public double draftEndMag() {
106 double ret = TD_DbPINVOKE.OdDbLoftOptions_draftEndMag(swigCPtr);
108 return ret;
109 }
110
115
121
126
127 public bool noTwist() {
128 bool ret = TD_DbPINVOKE.OdDbLoftOptions_noTwist(swigCPtr);
130 return ret;
131 }
132
137
143
148
149 public bool simplify() {
150 bool ret = TD_DbPINVOKE.OdDbLoftOptions_simplify(swigCPtr);
152 return ret;
153 }
154
159
160 public bool periodic() {
161 bool ret = TD_DbPINVOKE.OdDbLoftOptions_periodic(swigCPtr);
163 return ret;
164 }
165
170
171 public bool closed() {
172 bool ret = TD_DbPINVOKE.OdDbLoftOptions_closed(swigCPtr);
174 return ret;
175 }
176
181
182 public bool ruled() {
183 bool ret = TD_DbPINVOKE.OdDbLoftOptions_ruled(swigCPtr);
185 return ret;
186 }
187
192
193 public bool virtualGuide() {
194 bool ret = TD_DbPINVOKE.OdDbLoftOptions_virtualGuide(swigCPtr);
196 return ret;
197 }
198
203
209
214
220
226
227 public OdResult checkOptions(bool displayErrorMessages) {
228 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkOptions__SWIG_0(swigCPtr, displayErrorMessages);
230 return ret;
231 }
232
238
239 public OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages) {
240 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);
242 return ret;
243 }
244
245 public OdResult checkLoftCurves(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, out bool allOpen, out bool allClosed, out bool allPlanar) {
246 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);
248 return ret;
249 }
250
251 public OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar, bool displayErrorMessages) {
252 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkCrossSectionCurves__SWIG_0(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), out allOpen, out allClosed, out allPlanar, displayErrorMessages);
254 return ret;
255 }
256
257 public OdResult checkCrossSectionCurves(OdDbEntityPtrArray crossSectionCurves, out bool allOpen, out bool allClosed, out bool allPlanar) {
258 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkCrossSectionCurves__SWIG_1(swigCPtr, OdDbEntityPtrArray.getCPtr(crossSectionCurves), out allOpen, out allClosed, out allPlanar);
260 return ret;
261 }
262
263 public OdResult checkGuideCurves(OdDbEntityPtrArray guideCurves, bool displayErrorMessages) {
264 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkGuideCurves__SWIG_0(swigCPtr, OdDbEntityPtrArray.getCPtr(guideCurves), displayErrorMessages);
266 return ret;
267 }
268
274
275 public OdResult checkPathCurve(OdDbEntity pPathCurve, bool displayErrorMessages) {
276 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbLoftOptions_checkPathCurve__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pPathCurve), displayErrorMessages);
278 return ret;
279 }
280
286
287 public enum NormalOption {
288 kNoNormal = 0,
289 kFirstNormal = 1,
290 kLastNormal = 2,
291 kEndsNormal = 3,
292 kAllNormal = 4,
294 }
295
296}
297
298}
static HandleRef getCPtr(OdDbDatabase obj)
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)
void setPeriodic(bool periodic)
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 bool OdDbLoftOptions_periodic(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLoftOptions_draftEnd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLoftOptions_setPeriodic(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
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)