Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbCurve.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 OdDbCurve : OdDbEntity {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbCurve(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbCurve_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbCurve 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
43 public static OdDbCurve cast(OdRxObject pObj) {// OdSmartPtr<OdDbCurve>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbCurve ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, true));
52 ret = (OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbCurve_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbCurve_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbCurve_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbCurve createObject() {// OdSmartPtr<OdDbCurve>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbCurve ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, true));
93 ret = (OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbCurve)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbCurve),ptr, true);
98 }
99
101 return ret;
102}
103
104 public virtual bool isClosed() {
105 bool ret = TD_DbPINVOKE.OdDbCurve_isClosed(swigCPtr);
107 return ret;
108 }
109
110 public virtual bool isPeriodic() {
111 bool ret = TD_DbPINVOKE.OdDbCurve_isPeriodic(swigCPtr);
113 return ret;
114 }
115
116 public virtual OdResult getStartParam(out double startParam) {
117 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getStartParam(swigCPtr, out startParam);
119 return ret;
120 }
121
122 public virtual OdResult getEndParam(out double endParam) {
123 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getEndParam(swigCPtr, out endParam);
125 return ret;
126 }
127
128 public virtual OdResult getStartPoint(OdGePoint3d startPoint) {
131 return ret;
132 }
133
134 public virtual OdResult getEndPoint(OdGePoint3d endPoint) {
137 return ret;
138 }
139
140 public virtual OdResult getPointAtParam(double param, OdGePoint3d pointOnCurve) {
141 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getPointAtParam(swigCPtr, param, OdGePoint3d.getCPtr(pointOnCurve));
143 return ret;
144 }
145
146 public virtual OdResult getParamAtPoint(OdGePoint3d pointOnCurve, out double param) {
147 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getParamAtPoint(swigCPtr, OdGePoint3d.getCPtr(pointOnCurve), out param);
149 return ret;
150 }
151
152 public virtual OdResult getDistAtParam(double param, out double dist) {
153 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getDistAtParam(swigCPtr, param, out dist);
155 return ret;
156 }
157
158 public virtual OdResult getParamAtDist(double dist, out double param) {
159 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getParamAtDist(swigCPtr, dist, out param);
161 return ret;
162 }
163
164 public virtual OdResult getDistAtPoint(OdGePoint3d pointOnCurve, out double dist) {
165 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getDistAtPoint(swigCPtr, OdGePoint3d.getCPtr(pointOnCurve), out dist);
167 return ret;
168 }
169
170 public virtual OdResult getPointAtDist(double dist, OdGePoint3d pointOnCurve) {
171 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getPointAtDist(swigCPtr, dist, OdGePoint3d.getCPtr(pointOnCurve));
173 return ret;
174 }
175
176 public virtual OdResult getFirstDeriv(double param, OdGeVector3d firstDeriv) {
179 return ret;
180 }
181
182 public virtual OdResult getFirstDeriv(OdGePoint3d pointOnCurve, OdGeVector3d firstDeriv) {
185 return ret;
186 }
187
188 public virtual OdResult getSecondDeriv(double param, OdGeVector3d secondDeriv) {
191 return ret;
192 }
193
194 public virtual OdResult getSecondDeriv(OdGePoint3d pointOnCurve, OdGeVector3d secondDeriv) {
197 return ret;
198 }
199
200 public virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve, bool extend) {
203 return ret;
204 }
205
206 public virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve) {
209 return ret;
210 }
211
212 public virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve, bool extend) {
215 return ret;
216 }
217
218 public virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve) {
221 return ret;
222 }
223
224 public virtual OdResult getSpline(ref OdDbSpline /*OUT_PARAM for SMARTPTR*/ spline) {
225 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_spline = spline == null ? IntPtr.Zero : OdDbSpline.getCPtr(spline).Handle;
226 IntPtr saved_spline = tmp_spline;
227 /*OUT_PARAM for SMARTPTR pre*/
228 try {
229 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getSpline(swigCPtr, ref tmp_spline /*OUT_PARAM for SMARTPTR*/);
231 return ret;
232 } finally {
233if(tmp_spline == IntPtr.Zero) spline = null;
234 if(tmp_spline != IntPtr.Zero && tmp_spline != saved_spline)
235 {
236 MemoryTransaction mTrans_spline = MemoryManager.GetMemoryManager().GetCurrentTransaction();
237 if(mTrans_spline != null)
238 mTrans_spline.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSpline>(typeof(OdDbSpline), tmp_spline, true));
239 spline = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSpline>(typeof(OdDbSpline), tmp_spline, mTrans_spline == null);
240 /*OUT_PARAM for SMARTPTR*/
241 }
242 }
243 }
244
245 public virtual OdResult extend(double param) {
248 return ret;
249 }
250
251 public virtual OdResult extend(bool extendStart, OdGePoint3d toPoint) {
252 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_extend__SWIG_1(swigCPtr, extendStart, OdGePoint3d.getCPtr(toPoint));
254 return ret;
255 }
256
257 public virtual OdResult getArea(out double area) {
258 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getArea(swigCPtr, out area);
260 return ret;
261 }
262
263 public virtual OdResult getOrthoProjectedCurve(OdGePlane projPlane, ref OdDbCurve /*OUT_PARAM for SMARTPTR*/ pProjCurve) {
264 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pProjCurve = pProjCurve == null ? IntPtr.Zero : OdDbCurve.getCPtr(pProjCurve).Handle;
265 IntPtr saved_pProjCurve = tmp_pProjCurve;
266 /*OUT_PARAM for SMARTPTR pre*/
267 try {
268 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getOrthoProjectedCurve(swigCPtr, OdGePlane.getCPtr(projPlane), ref tmp_pProjCurve /*OUT_PARAM for SMARTPTR*/);
270 return ret;
271 } finally {
272if(tmp_pProjCurve == IntPtr.Zero) pProjCurve = null;
273 if(tmp_pProjCurve != IntPtr.Zero && tmp_pProjCurve != saved_pProjCurve)
274 {
275 MemoryTransaction mTrans_pProjCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
276 if(mTrans_pProjCurve != null)
277 mTrans_pProjCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), tmp_pProjCurve, true));
278 pProjCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), tmp_pProjCurve, mTrans_pProjCurve == null);
279 /*OUT_PARAM for SMARTPTR*/
280 }
281 }
282 }
283
284 public virtual OdResult getProjectedCurve(OdGePlane projPlane, OdGeVector3d projDirection, ref OdDbCurve /*OUT_PARAM for SMARTPTR*/ pProjCurve) {
285 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pProjCurve = pProjCurve == null ? IntPtr.Zero : OdDbCurve.getCPtr(pProjCurve).Handle;
286 IntPtr saved_pProjCurve = tmp_pProjCurve;
287 /*OUT_PARAM for SMARTPTR pre*/
288 try {
289 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getProjectedCurve(swigCPtr, OdGePlane.getCPtr(projPlane), OdGeVector3d.getCPtr(projDirection), ref tmp_pProjCurve /*OUT_PARAM for SMARTPTR*/);
291 return ret;
292 } finally {
293if(tmp_pProjCurve == IntPtr.Zero) pProjCurve = null;
294 if(tmp_pProjCurve != IntPtr.Zero && tmp_pProjCurve != saved_pProjCurve)
295 {
296 MemoryTransaction mTrans_pProjCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
297 if(mTrans_pProjCurve != null)
298 mTrans_pProjCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), tmp_pProjCurve, true));
299 pProjCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), tmp_pProjCurve, mTrans_pProjCurve == null);
300 /*OUT_PARAM for SMARTPTR*/
301 }
302 }
303 }
304
305 public virtual OdResult getOffsetCurves(double offsetDistance, OdRxObjectPtrArray offsetCurves) {
306 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getOffsetCurves(swigCPtr, offsetDistance, OdRxObjectPtrArray.getCPtr(offsetCurves));
308 return ret;
309 }
310
311 public virtual OdResult getOffsetCurvesGivenPlaneNormal(OdGeVector3d normal, double offsetDistance, OdRxObjectPtrArray offsetCurves) {
314 return ret;
315 }
316
317 public virtual OdResult getSplitCurves(OdGeDoubleArray params_, OdRxObjectPtrArray curveSegments) {
320 return ret;
321 }
322
323 public virtual OdResult getSplitCurves(OdGePoint3dArray points, OdRxObjectPtrArray curveSegments) {
326 return ret;
327 }
328
329 public virtual OdResult reverseCurve() {
332 return ret;
333 }
334
335 public virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve, OdGeTol tol) {
336IntPtr p_pGeCurve = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
337 try {
338 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getOdGeCurve__SWIG_0(swigCPtr, out p_pGeCurve, OdGeTol.getCPtr(tol));
340 return ret;
341 } finally {
342MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
343 if(mTrans_pGeCurve != null)
344 mTrans_pGeCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_pGeCurve, true));
345 pGeCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_pGeCurve, mTrans_pGeCurve == null);
346 /*OUT_PARAM_OBJ POST*/
347 }
348 }
349
350 public virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve) {
351IntPtr p_pGeCurve = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
352 try {
353 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbCurve_getOdGeCurve__SWIG_1(swigCPtr, out p_pGeCurve);
355 return ret;
356 } finally {
357MemoryTransaction mTrans_pGeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
358 if(mTrans_pGeCurve != null)
359 mTrans_pGeCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_pGeCurve, true));
360 pGeCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_pGeCurve, mTrans_pGeCurve == null);
361 /*OUT_PARAM_OBJ POST*/
362 }
363 }
364
365 public static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve, OdGeVector3d normal, OdGeTol tol) {
366IntPtr p_pDbCurve = OdDbCurve.getCPtr(pDbCurve).Handle; /*OUT_PARAM_OBJ_AS_REF PRE*/
367 try {
370 return ret;
371 } finally {
372if (OdDbCurve.getCPtr(pDbCurve).Handle != p_pDbCurve)
373 {
374 typeof(OdDbCurve).GetField("swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pDbCurve, false);
375MemoryTransaction mTrans_pDbCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
376 if(mTrans_pDbCurve != null)
377 mTrans_pDbCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, true));
378 pDbCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, mTrans_pDbCurve == null);
379 }
380 /*OUT_PARAM_OBJ_AS_REF POST*/
381 }
382 }
383
384 public static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve, OdGeVector3d normal) {
385IntPtr p_pDbCurve = OdDbCurve.getCPtr(pDbCurve).Handle; /*OUT_PARAM_OBJ_AS_REF PRE*/
386 try {
389 return ret;
390 } finally {
391if (OdDbCurve.getCPtr(pDbCurve).Handle != p_pDbCurve)
392 {
393 typeof(OdDbCurve).GetField("swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pDbCurve, false);
394MemoryTransaction mTrans_pDbCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
395 if(mTrans_pDbCurve != null)
396 mTrans_pDbCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, true));
397 pDbCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, mTrans_pDbCurve == null);
398 }
399 /*OUT_PARAM_OBJ_AS_REF POST*/
400 }
401 }
402
403 public static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve) {
404IntPtr p_pDbCurve = OdDbCurve.getCPtr(pDbCurve).Handle; /*OUT_PARAM_OBJ_AS_REF PRE*/
405 try {
408 return ret;
409 } finally {
410if (OdDbCurve.getCPtr(pDbCurve).Handle != p_pDbCurve)
411 {
412 typeof(OdDbCurve).GetField("swigCMemOwn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(pDbCurve, false);
413MemoryTransaction mTrans_pDbCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
414 if(mTrans_pDbCurve != null)
415 mTrans_pDbCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, true));
416 pDbCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdDbCurve>(typeof(OdDbCurve), p_pDbCurve, mTrans_pDbCurve == null);
417 }
418 /*OUT_PARAM_OBJ_AS_REF POST*/
419 }
420 }
421
422 public virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal, OdGeTol tol) {
425 return ret;
426 }
427
428 public virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal) {
431 return ret;
432 }
433
434 public virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve) {
437 return ret;
438 }
439
440 public virtual Int32 findVertexIndex(OdDbVertex vert) {
441// test csout
442 /*SIMPLETYPE*/
443 Int32 ret = TD_DbPINVOKE.OdDbCurve_findVertexIndex(swigCPtr, OdDbVertex.getCPtr(vert));
445 return ret;
446 }
447
448 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
449 string ret = TD_DbPINVOKE.OdDbCurve_getRealClassName(ptr /*SIMPLETYPE*/);
451 return ret;
452 }
453
458 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
459
465
470 public string vb_material() { return this.material(); }
471
476 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
477
482 public string vb_linetype() { return this.linetype(); }
483
489
495
496}
497
498}
static HandleRef getCPtr(OdGeCurve3d obj)
Definition: OdGeCurve3d.cs:25
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGePlane obj)
Definition: OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static string getRealClassName(IntPtr ptr)
Definition: OdDbCurve.cs:448
virtual OdResult extend(double param)
Definition: OdDbCurve.cs:245
virtual OdResult getFirstDeriv(double param, OdGeVector3d firstDeriv)
Definition: OdDbCurve.cs:176
virtual OdResult getPointAtDist(double dist, OdGePoint3d pointOnCurve)
Definition: OdDbCurve.cs:170
virtual OdResult getEndParam(out double endParam)
Definition: OdDbCurve.cs:122
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve, bool extend)
Definition: OdDbCurve.cs:212
string vb_material()
Definition: OdDbCurve.cs:470
OdDbCurve(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDbCurve.cs:21
virtual Teigha.TD.CollisionType vb_collisionType()
Definition: OdDbCurve.cs:476
virtual OdResult getSplitCurves(OdGeDoubleArray params_, OdRxObjectPtrArray curveSegments)
Definition: OdDbCurve.cs:317
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdDbCurve.cs:77
virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve, OdGeTol tol)
Definition: OdDbCurve.cs:335
virtual OdResult getDistAtPoint(OdGePoint3d pointOnCurve, out double dist)
Definition: OdDbCurve.cs:164
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve)
Definition: OdDbCurve.cs:403
virtual OdResult getArea(out double area)
Definition: OdDbCurve.cs:257
virtual OdResult getParamAtDist(double dist, out double param)
Definition: OdDbCurve.cs:158
virtual OdResult getPointAtParam(double param, OdGePoint3d pointOnCurve)
Definition: OdDbCurve.cs:140
string vb_linetype()
Definition: OdDbCurve.cs:482
static OdDbCurve cast(OdRxObject pObj)
Definition: OdDbCurve.cs:43
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGeVector3d normal, OdGePoint3d pointOnCurve)
Definition: OdDbCurve.cs:218
Teigha.TD.Visibility vb_visibility()
Definition: OdDbCurve.cs:464
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve)
Definition: OdDbCurve.cs:206
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve, OdGeVector3d normal)
Definition: OdDbCurve.cs:384
virtual OdResult getOdGeCurve(out OdGeCurve3d pGeCurve)
Definition: OdDbCurve.cs:350
virtual OdResult getOrthoProjectedCurve(OdGePlane projPlane, ref OdDbCurve pProjCurve)
Definition: OdDbCurve.cs:263
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal)
Definition: OdDbCurve.cs:428
virtual OdResult getSpline(ref OdDbSpline spline)
Definition: OdDbCurve.cs:224
virtual bool isPeriodic()
Definition: OdDbCurve.cs:110
virtual OdResult getClosestPointTo(OdGePoint3d givenPoint, OdGePoint3d pointOnCurve, bool extend)
Definition: OdDbCurve.cs:200
virtual OdResult extend(bool extendStart, OdGePoint3d toPoint)
Definition: OdDbCurve.cs:251
virtual OdResult getFirstDeriv(OdGePoint3d pointOnCurve, OdGeVector3d firstDeriv)
Definition: OdDbCurve.cs:182
virtual OdResult getStartPoint(OdGePoint3d startPoint)
Definition: OdDbCurve.cs:128
static OdResult createFromOdGeCurve(OdGeCurve3d geCurve, ref OdDbCurve pDbCurve, OdGeVector3d normal, OdGeTol tol)
Definition: OdDbCurve.cs:365
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve, OdGeVector3d normal, OdGeTol tol)
Definition: OdDbCurve.cs:422
override void Dispose(bool disposing)
Definition: OdDbCurve.cs:30
static HandleRef getCPtr(OdDbCurve obj)
Definition: OdDbCurve.cs:26
virtual OdResult getStartParam(out double startParam)
Definition: OdDbCurve.cs:116
virtual OdResult getSplitCurves(OdGePoint3dArray points, OdRxObjectPtrArray curveSegments)
Definition: OdDbCurve.cs:323
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
Definition: OdDbCurve.cs:494
virtual OdResult reverseCurve()
Definition: OdDbCurve.cs:329
virtual bool isClosed()
Definition: OdDbCurve.cs:104
virtual OdResult getSecondDeriv(OdGePoint3d pointOnCurve, OdGeVector3d secondDeriv)
Definition: OdDbCurve.cs:194
virtual OdResult getOffsetCurves(double offsetDistance, OdRxObjectPtrArray offsetCurves)
Definition: OdDbCurve.cs:305
virtual OdResult setFromOdGeCurve(OdGeCurve3d geCurve)
Definition: OdDbCurve.cs:434
override OdRxClass isA()
Definition: OdDbCurve.cs:70
virtual OdResult getSecondDeriv(double param, OdGeVector3d secondDeriv)
Definition: OdDbCurve.cs:188
void vb_gripStatus(Teigha.Core.GripStat status)
Definition: OdDbCurve.cs:458
virtual OdResult getDistAtParam(double param, out double dist)
Definition: OdDbCurve.cs:152
virtual OdResult getProjectedCurve(OdGePlane projPlane, OdGeVector3d projDirection, ref OdDbCurve pProjCurve)
Definition: OdDbCurve.cs:284
virtual OdResult getParamAtPoint(OdGePoint3d pointOnCurve, out double param)
Definition: OdDbCurve.cs:146
virtual Int32 findVertexIndex(OdDbVertex vert)
Definition: OdDbCurve.cs:440
virtual OdResult getEndPoint(OdGePoint3d endPoint)
Definition: OdDbCurve.cs:134
static new OdRxClass desc()
Definition: OdDbCurve.cs:63
Teigha.Core.LineWeight vb_lineWeight()
Definition: OdDbCurve.cs:488
static new OdDbCurve createObject()
Definition: OdDbCurve.cs:84
virtual OdResult getOffsetCurvesGivenPlaneNormal(OdGeVector3d normal, double offsetDistance, OdRxObjectPtrArray offsetCurves)
Definition: OdDbCurve.cs:311
LineWeight lineWeight()
Definition: OdDbEntity.cs:556
virtual CollisionType collisionType()
Definition: OdDbEntity.cs:596
virtual void gripStatus(GripStat status)
Definition: OdDbEntity.cs:935
Visibility visibility()
Definition: OdDbEntity.cs:527
static HandleRef getCPtr(OdDbSpline obj)
Definition: OdDbSpline.cs:26
static HandleRef getCPtr(OdDbVertex obj)
Definition: OdDbVertex.cs:26
static global::System.Exception Retrieve()
static int OdDbCurve_setFromOdGeCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdDbCurve(HandleRef jarg1)
static int OdDbCurve_getSpline(HandleRef jarg1, ref IntPtr jarg2)
static int OdDbCurve_extend__SWIG_0(HandleRef jarg1, double jarg2)
static int OdDbCurve_getClosestPointTo__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int OdDbCurve_getClosestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static int OdDbCurve_extend__SWIG_1(HandleRef jarg1, bool jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDbCurve_isPeriodic(HandleRef jarg1)
static int OdDbCurve_getFirstDeriv__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbCurve_desc()
static int OdDbCurve_createFromOdGeCurve__SWIG_2(HandleRef jarg1, ref IntPtr jarg2)
static IntPtr OdDbCurve_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDbCurve_getPointAtDist(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbCurve_cast(HandleRef jarg1)
static int OdDbCurve_getParamAtDist(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDbCurve_getStartParam(HandleRef jarg1, out double jarg2)
static int OdDbCurve_createFromOdGeCurve__SWIG_1(HandleRef jarg1, ref IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getEndParam(HandleRef jarg1, out double jarg2)
static int OdDbCurve_createFromOdGeCurve__SWIG_0(HandleRef jarg1, ref IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbCurve_getClosestPointTo__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbCurve_getOrthoProjectedCurve(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static int OdDbCurve_getClosestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getDistAtParam(HandleRef jarg1, double jarg2, out double jarg3)
static int OdDbCurve_getOffsetCurvesGivenPlaneNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbCurve_getOdGeCurve__SWIG_1(HandleRef jarg1, out IntPtr jarg2)
static string OdDbCurve_getRealClassName(IntPtr jarg1)
static int OdDbCurve_getOffsetCurves(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_reverseCurve(HandleRef jarg1)
static Int32 OdDbCurve_findVertexIndex(HandleRef jarg1, HandleRef jarg2)
static int OdDbCurve_getArea(HandleRef jarg1, out double jarg2)
static int OdDbCurve_getDistAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static int OdDbCurve_getOdGeCurve__SWIG_0(HandleRef jarg1, out IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getSecondDeriv__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getSplitCurves__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDbCurve_isClosed(HandleRef jarg1)
static int OdDbCurve_getParamAtPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static IntPtr OdDbCurve_isA(HandleRef jarg1)
static int OdDbCurve_setFromOdGeCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbCurve_getFirstDeriv__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getSecondDeriv__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getPointAtParam(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_getEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbCurve_createObject()
static int OdDbCurve_getStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbCurve_getProjectedCurve(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref IntPtr jarg4)
static int OdDbCurve_getSplitCurves__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbCurve_setFromOdGeCurve__SWIG_2(HandleRef jarg1, HandleRef jarg2)