Extended .NET SDK Documentation 2024 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
56 public OdDbSweepOptions(OdDbSweepOptions src) : this(TD_DbPINVOKE.new_OdDbSweepOptions__SWIG_1(OdDbSweepOptions.getCPtr(src)), true) {
58 }
59
63 return ret;
64 }
65
66 public bool IsEqual(OdDbSweepOptions opt) {
69 return ret;
70 }
71
72 public double draftAngle() {
73 double ret = TD_DbPINVOKE.OdDbSweepOptions_draftAngle(swigCPtr);
75 return ret;
76 }
77
78 public void setDraftAngle(double ang) {
81 }
82
83 public double startDraftDist() {
84 double ret = TD_DbPINVOKE.OdDbSweepOptions_startDraftDist(swigCPtr);
86 return ret;
87 }
88
89 public void setStartDraftDist(double val) {
92 }
93
94 public double endDraftDist() {
95 double ret = TD_DbPINVOKE.OdDbSweepOptions_endDraftDist(swigCPtr);
97 return ret;
98 }
99
100 public void setEndDraftDist(double val) {
103 }
104
105 public double twistAngle() {
106 double ret = TD_DbPINVOKE.OdDbSweepOptions_twistAngle(swigCPtr);
108 return ret;
109 }
110
111 public void setTwistAngle(double ang) {
114 }
115
116 public double scaleFactor() {
117 double ret = TD_DbPINVOKE.OdDbSweepOptions_scaleFactor(swigCPtr);
119 return ret;
120 }
121
122 public void setScaleFactor(double val) {
125 }
126
127 public double alignAngle() {
128 double ret = TD_DbPINVOKE.OdDbSweepOptions_alignAngle(swigCPtr);
130 return ret;
131 }
132
133 public void setAlignAngle(double ang) {
136 }
137
141 return ret;
142 }
143
145 TD_DbPINVOKE.OdDbSweepOptions_setAlign(swigCPtr, (int)val);
147 }
148
152 return ret;
153 }
154
158 }
159
160 public bool alignStart() {
161 bool ret = TD_DbPINVOKE.OdDbSweepOptions_alignStart(swigCPtr);
163 return ret;
164 }
165
166 public void setAlignStart(bool val) {
169 }
170
174 return ret;
175 }
176
177 public void setBasePoint(OdGePoint3d pnt) {
180 }
181
182 public bool bank() {
183 bool ret = TD_DbPINVOKE.OdDbSweepOptions_bank(swigCPtr);
185 return ret;
186 }
187
188 public void setBank(bool val) {
191 }
192
193 public bool checkIntersections() {
196 return ret;
197 }
198
199 public void setCheckIntersections(bool val) {
202 }
203
207 return ret;
208 }
209
210 public void setTwistRefVec(OdGeVector3d vec) {
213 }
214
218 return ret;
219 }
220
224 }
225
226 public OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities, bool displayErrorMessages) {
229 return ret;
230 }
231
235 return ret;
236 }
237
241 return ret;
242 }
243
247 }
248
249 public OdResult setPathEntityTransform(OdDbEntity pPathEnt, bool displayErrorMessages) {
252 return ret;
253 }
254
258 return ret;
259 }
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
282 return ret;
283 }
284
290
291 public enum AlignOption {
292 kNoAlignment = 0,
296 }
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)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
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)
void setAlignAngle(double ang)
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)
void setEndDraftDist(double val)
OdResult checkPathCurve(OdDbEntity pPathEnt)
OdResult setPathEntityTransform(OdDbEntity pPathEnt)
OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities, bool displayErrorMessages)
void setScaleFactor(double val)
void setCheckIntersections(bool val)
bool getPathEntityTransform(OdGeMatrix3d mat)
OdDbSweepOptions(OdDbSweepOptions src)
void setPathEntityTransform(OdGeMatrix3d mat)
OdDbSweepOptions(IntPtr cPtr, bool cMemoryOwn)
void setTwistAngle(double ang)
OdDbSweepOptions.MiterOption miterOption()
OdResult setPathEntityTransform(OdDbEntity pPathEnt, bool displayErrorMessages)
OdResult setSweepEntityTransform(OdDbEntityPtrArray sweepEntities)
void setDraftAngle(double ang)
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)