Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbSweepOptions.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 OdDbSweepOptions : 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 OdDbSweepOptions(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(OdDbSweepOptions 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 OdDbSweepOptions() : this(TD_DbPINVOKE.new_OdDbSweepOptions__SWIG_0(), true) {
54 }
55
59
65
71
72 public double draftAngle() {
73 double ret = TD_DbPINVOKE.OdDbSweepOptions_draftAngle(swigCPtr);
75 return ret;
76 }
77
82
88
93
94 public double endDraftDist() {
95 double ret = TD_DbPINVOKE.OdDbSweepOptions_endDraftDist(swigCPtr);
97 return ret;
98 }
99
104
105 public double twistAngle() {
106 double ret = TD_DbPINVOKE.OdDbSweepOptions_twistAngle(swigCPtr);
108 return ret;
109 }
110
115
116 public double scaleFactor() {
117 double ret = TD_DbPINVOKE.OdDbSweepOptions_scaleFactor(swigCPtr);
119 return ret;
120 }
121
126
127 public double alignAngle() {
128 double ret = TD_DbPINVOKE.OdDbSweepOptions_alignAngle(swigCPtr);
130 return ret;
131 }
132
137
143
148
154
159
160 public bool alignStart() {
161 bool ret = TD_DbPINVOKE.OdDbSweepOptions_alignStart(swigCPtr);
163 return ret;
164 }
165
170
176
181
182 public bool bank() {
183 bool ret = TD_DbPINVOKE.OdDbSweepOptions_bank(swigCPtr);
185 return ret;
186 }
187
192
198
203
209
214
220
225
226 public OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities, bool displayErrorMessages) {
229 return ret;
230 }
231
237
243
248
249 public OdResult setPathEntityTransform(OdDbEntity pPathEnt, bool displayErrorMessages) {
252 return ret;
253 }
254
260
261 public OdResult checkSweepCurve(OdDbEntity pSweepEnt, out Planarity planarity, OdGePoint3d pnt, OdGeVector3d vec, out bool closed, out double approxArcLen, bool displayErrorMessages) {
262 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSweepOptions_checkSweepCurve__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pSweepEnt), out planarity, OdGePoint3d.getCPtr(pnt), OdGeVector3d.getCPtr(vec), out closed, out approxArcLen, displayErrorMessages);
264 return ret;
265 }
266
267 public OdResult checkSweepCurve(OdDbEntity pSweepEnt, out Planarity planarity, OdGePoint3d pnt, OdGeVector3d vec, out bool closed, out double approxArcLen) {
268 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSweepOptions_checkSweepCurve__SWIG_1(swigCPtr, OdDbEntity.getCPtr(pSweepEnt), out planarity, OdGePoint3d.getCPtr(pnt), OdGeVector3d.getCPtr(vec), out closed, out approxArcLen);
270 return ret;
271 }
272
273 public OdResult checkPathCurve(OdDbEntity pPathEnt, bool displayErrorMessages) {
274 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSweepOptions_checkPathCurve__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pPathEnt), displayErrorMessages);
276 return ret;
277 }
278
284
290
297
298 public enum MiterOption {
299 kDefaultMiter = 0,
300 kOldMiter = 1,
301 kNewMiter = 2,
302 kCrimpMiter = 3,
303 kBendMiter = 4
304 }
305
306}
307
308}
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdDbEntity obj)
Definition OdDbEntity.cs:26
static HandleRef getCPtr(OdDbEntityPtrArray obj)
OdResult checkSweepCurve(OdDbEntity pSweepEnt, out Planarity planarity, OdGePoint3d pnt, OdGeVector3d vec, out bool closed, out double approxArcLen, bool displayErrorMessages)
bool getSweepEntityTransform(OdGeMatrix3d mat)
Teigha.TD.OdDbSweepOptions.MiterOption vb_miterOption()
OdResult checkSweepCurve(OdDbEntity pSweepEnt, out Planarity planarity, OdGePoint3d pnt, OdGeVector3d vec, out bool closed, out double approxArcLen)
OdResult checkPathCurve(OdDbEntity pPathEnt, bool displayErrorMessages)
void setMiterOption(OdDbSweepOptions.MiterOption val)
OdDbSweepOptions.AlignOption align()
virtual void Dispose(bool disposing)
OdDbSweepOptions Assign(OdDbSweepOptions src)
static HandleRef getCPtr(OdDbSweepOptions obj)
void setSweepEntityTransform(OdGeMatrix3d mat)
OdResult checkPathCurve(OdDbEntity pPathEnt)
OdResult setPathEntityTransform(OdDbEntity pPathEnt)
OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities, bool displayErrorMessages)
bool getPathEntityTransform(OdGeMatrix3d mat)
OdDbSweepOptions(OdDbSweepOptions src)
void setPathEntityTransform(OdGeMatrix3d mat)
OdDbSweepOptions(IntPtr cPtr, bool cMemoryOwn)
OdDbSweepOptions.MiterOption miterOption()
OdResult setPathEntityTransform(OdDbEntity pPathEnt, bool displayErrorMessages)
OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities)
bool IsEqual(OdDbSweepOptions opt)
void setTwistRefVec(OdGeVector3d vec)
void setAlign(OdDbSweepOptions.AlignOption val)
void setStartDraftDist(double val)
void setBasePoint(OdGePoint3d pnt)
static global::System.Exception Retrieve()
static void OdDbSweepOptions_setTwistAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdDbSweepOptions_startDraftDist(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbSweepOptions_setSweepEntityTransform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setAlignStart(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDbSweepOptions_setSweepEntityTransform__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static int OdDbSweepOptions_checkSweepCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, out Planarity jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, out bool jarg6, out double jarg7, bool jarg8)
static void OdDbSweepOptions_setCheckIntersections(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDbSweepOptions_twistRefVec(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbSweepOptions_draftAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbSweepOptions_endDraftDist(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbSweepOptions_checkIntersections(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbSweepOptions_align(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbSweepOptions_setScaleFactor(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDbSweepOptions_getSweepEntityTransform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setAlignAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbSweepOptions_checkPathCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static void OdDbSweepOptions_setDraftAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbSweepOptions_setSweepEntityTransform__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDbSweepOptions(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbSweepOptions_alignStart(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbSweepOptions_setPathEntityTransform__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static bool OdDbSweepOptions_bank(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbSweepOptions_setPathEntityTransform__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdDbSweepOptions_setBasePoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSweepOptions_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setEndDraftDist(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbSweepOptions_checkPathCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdDbSweepOptions_twistAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbSweepOptions_basePoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbSweepOptions_checkSweepCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, out Planarity jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, out bool jarg6, out double jarg7)
static void OdDbSweepOptions_setStartDraftDist(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDbSweepOptions_getPathEntityTransform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbSweepOptions_scaleFactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbSweepOptions_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setTwistRefVec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setAlign(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static double OdDbSweepOptions_alignAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbSweepOptions_miterOption(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbSweepOptions_setPathEntityTransform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSweepOptions_setBank(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbSweepOptions_setMiterOption(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)