Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeCurve2d.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGeCurve2d : OdGeEntity2d {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCurve2d obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public new OdGeCurve2d copy() {
43 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_copy(swigCPtr), false);
44
46 return ret;
47}
48
50 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_transformBy(swigCPtr, OdGeMatrix2d.getCPtr(xfm)), false);
51
53 return ret;
54}
55
56 public new OdGeCurve2d translateBy(OdGeVector2d translateVec) {
57 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_translateBy(swigCPtr, OdGeVector2d.getCPtr(translateVec).Handle), false);
58
60 return ret;
61}
62
63 public new OdGeCurve2d rotateBy(double angle, OdGePoint2d basePoint) {
64 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_rotateBy__SWIG_0(swigCPtr, angle, OdGePoint2d.getCPtr(basePoint)), false);
65
67 return ret;
68}
69
70 public new OdGeCurve2d rotateBy(double angle) {
71 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_rotateBy__SWIG_1(swigCPtr, angle), false);
72
74 return ret;
75}
76
77 public new OdGeCurve2d mirror(OdGeLine2d line) {
78 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_mirror(swigCPtr, OdGeLine2d.getCPtr(line)), false);
79
81 return ret;
82}
83
84 public new OdGeCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
85 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint2d.getCPtr(basePoint)), false);
86
88 return ret;
89}
90
91 public new OdGeCurve2d scaleBy(double scaleFactor) {
92 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
93
95 return ret;
96}
97
99 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeCurve2d_convertTo3d__SWIG_0(swigCPtr), false);
100
102 return ret;
103}
104
109
114
119
121 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_reverseParam(swigCPtr), false);
122
124 return ret;
125}
126
128 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_setInterval__SWIG_0(swigCPtr), false);
129
131 return ret;
132}
133
139
145
151
152 public double distanceTo(OdGeCurve2d otherCur, OdGeTol tol) {
153 double ret = GlobalsPINVOKE.OdGeCurve2d_distanceTo__SWIG_2(swigCPtr, OdGeCurve2d.getCPtr(otherCur), OdGeTol.getCPtr(tol));
155 return ret;
156 }
157
158 public double distanceTo(OdGeCurve2d otherCur) {
159 double ret = GlobalsPINVOKE.OdGeCurve2d_distanceTo__SWIG_3(swigCPtr, OdGeCurve2d.getCPtr(otherCur));
161 return ret;
162 }
163
169
175
181
187
193
199
204
209
214
219
225
231
232 public bool isOn(OdGePoint2d point, out double param, OdGeTol tol) {
233 bool ret = GlobalsPINVOKE.OdGeCurve2d_isOn__SWIG_0(swigCPtr, OdGePoint2d.getCPtr(point), out param, OdGeTol.getCPtr(tol));
235 return ret;
236 }
237
238 public bool isOn(OdGePoint2d point, out double param) {
239 bool ret = GlobalsPINVOKE.OdGeCurve2d_isOn__SWIG_1(swigCPtr, OdGePoint2d.getCPtr(point), out param);
241 return ret;
242 }
243
244 public bool isOn(double param, OdGeTol tol) {
245 bool ret = GlobalsPINVOKE.OdGeCurve2d_isOn__SWIG_2(swigCPtr, param, OdGeTol.getCPtr(tol));
247 return ret;
248 }
249
250 public bool isOn(double param) {
251 bool ret = GlobalsPINVOKE.OdGeCurve2d_isOn__SWIG_3(swigCPtr, param);
253 return ret;
254 }
255
256 public double paramOf(OdGePoint2d point, OdGeTol tol) {
259 return ret;
260 }
261
262 public double paramOf(OdGePoint2d point) {
263 double ret = GlobalsPINVOKE.OdGeCurve2d_paramOf__SWIG_1(swigCPtr, OdGePoint2d.getCPtr(point));
265 return ret;
266 }
267
268 public double paramOf(OdGePoint2d point, OdGeInterval range, OdGeTol tol) {
271 return ret;
272 }
273
274 public void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType, OdGeTol tol) {
275 GlobalsPINVOKE.OdGeCurve2d_getTrimmedOffset__SWIG_0(swigCPtr, distance, OdGeCurve2dPtrArray.getCPtr(offsetCurveList), (int)extensionType, OdGeTol.getCPtr(tol));
277 }
278
279 public void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType) {
280 GlobalsPINVOKE.OdGeCurve2d_getTrimmedOffset__SWIG_1(swigCPtr, distance, OdGeCurve2dPtrArray.getCPtr(offsetCurveList), (int)extensionType);
282 }
283
288
294
295 public bool isClosed() {
296 bool ret = GlobalsPINVOKE.OdGeCurve2d_isClosed__SWIG_1(swigCPtr);
298 return ret;
299 }
300
301 public bool isPeriodic(out double period) {
302 bool ret = GlobalsPINVOKE.OdGeCurve2d_isPeriodic(swigCPtr, out period);
304 return ret;
305 }
306
312
318
319 public double length(double fromParam, double toParam, double tol) {
320 double ret = GlobalsPINVOKE.OdGeCurve2d_length__SWIG_0(swigCPtr, fromParam, toParam, tol);
322 return ret;
323 }
324
325 public double length(double tol) {
326 double ret = GlobalsPINVOKE.OdGeCurve2d_length__SWIG_1(swigCPtr, tol);
328 return ret;
329 }
330
331 public double paramAtLength(double datumParam, double length, bool posParamDir, double tol) {
332 double ret = GlobalsPINVOKE.OdGeCurve2d_paramAtLength(swigCPtr, datumParam, length, posParamDir, tol);
334 return ret;
335 }
336
337 public bool area(double startParam, double endParam, out double value, OdGeTol tol) {
338 bool ret = GlobalsPINVOKE.OdGeCurve2d_area__SWIG_0(swigCPtr, startParam, endParam, out value, OdGeTol.getCPtr(tol));
340 return ret;
341 }
342
343 public bool area(double startParam, double endParam, out double value) {
344 bool ret = GlobalsPINVOKE.OdGeCurve2d_area__SWIG_1(swigCPtr, startParam, endParam, out value);
346 return ret;
347 }
348
349 public void getSplitCurves(double param, out OdGeCurve2d piece1, out OdGeCurve2d piece2) {
350IntPtr p_piece1 = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
351IntPtr p_piece2 = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
352 try {
353 GlobalsPINVOKE.OdGeCurve2d_getSplitCurves(swigCPtr, param, out p_piece1, out p_piece2);
355 } finally {
356MemoryTransaction mTrans_piece1 = MemoryManager.GetMemoryManager().GetCurrentTransaction();
357 if(mTrans_piece1 != null)
358 mTrans_piece1.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), p_piece1, true));
359 piece1 = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), p_piece1, mTrans_piece1 == null);
360 /*OUT_PARAM_OBJ POST*/
361MemoryTransaction mTrans_piece2 = MemoryManager.GetMemoryManager().GetCurrentTransaction();
362 if(mTrans_piece2 != null)
363 mTrans_piece2.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), p_piece2, true));
364 piece2 = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), p_piece2, mTrans_piece2 == null);
365 /*OUT_PARAM_OBJ POST*/
366 }
367 }
368
369 public bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve, OdGeInterval interval) {
370 bool ret = GlobalsPINVOKE.OdGeCurve2d_explode__SWIG_0(swigCPtr, OdGeCurve2dPtrArray.getCPtr(explodedCurves), OdIntArray.getCPtr(newExplodedCurve).Handle, OdGeInterval.getCPtr(interval));
372 return ret;
373 }
374
375 public bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve) {
376 bool ret = GlobalsPINVOKE.OdGeCurve2d_explode__SWIG_1(swigCPtr, OdGeCurve2dPtrArray.getCPtr(explodedCurves), OdIntArray.getCPtr(newExplodedCurve).Handle);
378 return ret;
379 }
380
385
390
395
400
405
410
415
421
427
433
439
445
451
457
458 public bool hasStartPoint(OdGePoint2d startPoint) {
459 bool ret = GlobalsPINVOKE.OdGeCurve2d_hasStartPoint(swigCPtr, OdGePoint2d.getCPtr(startPoint));
461 return ret;
462 }
463
464 public bool hasEndPoint(OdGePoint2d endPoint) {
465 bool ret = GlobalsPINVOKE.OdGeCurve2d_hasEndPoint(swigCPtr, OdGePoint2d.getCPtr(endPoint));
467 return ret;
468 }
469
470 public bool hasMidPoint(OdGePoint2d point, double coef) {
471 bool ret = GlobalsPINVOKE.OdGeCurve2d_hasMidPoint__SWIG_0(swigCPtr, OdGePoint2d.getCPtr(point), coef);
473 return ret;
474 }
475
481
487
493
494 public OdGePoint2d evalPoint(double param) {
497 return ret;
498 }
499
500 public OdGePoint2d evalPoint(double param, int numDeriv, OdGeVector2dArray derivatives) {
501 OdGePoint2d ret = new OdGePoint2d(GlobalsPINVOKE.OdGeCurve2d_evalPoint__SWIG_1(swigCPtr, param, numDeriv, OdGeVector2dArray.getCPtr(derivatives)), true);
503 return ret;
504 }
505
506 public void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray paramArray) {
507 GlobalsPINVOKE.OdGeCurve2d_getSamplePoints__SWIG_0(swigCPtr, fromParam, toParam, approxEps, OdGePoint2dArray.getCPtr(pointArray).Handle, OdGeDoubleArray.getCPtr(paramArray));
509 }
510
515
517 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_Assign(swigCPtr, OdGeCurve2d.getCPtr(curve)), false);
518
520 return ret;
521}
522
523 public void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray) {
524 GlobalsPINVOKE.OdGeCurve2d_getSamplePoints__SWIG_3(swigCPtr, fromParam, toParam, approxEps, OdGePoint2dArray.getCPtr(pointArray).Handle);
526 }
527
528 public void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray pParamArray) {
529 GlobalsPINVOKE.OdGeCurve2d_appendSamplePoints__SWIG_0(swigCPtr, fromParam, toParam, approxEps, OdGePoint2dArray.getCPtr(pointArray).Handle, OdGeDoubleArray.getCPtr(pParamArray).Handle);
531 }
532
533 public void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray) {
534 GlobalsPINVOKE.OdGeCurve2d_appendSamplePoints__SWIG_1(swigCPtr, fromParam, toParam, approxEps, OdGePoint2dArray.getCPtr(pointArray).Handle);
536 }
537
542
543 public static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface, OdGeTol tol) {
544 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_restoreUvCurve__SWIG_0(OdGeCurve3d.getCPtr(curve), OdGeSurface.getCPtr(surface), OdGeTol.getCPtr(tol)), false);
545
547 return ret;
548}
549
550 public static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface) {
551 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurve2d_restoreUvCurve__SWIG_1(OdGeCurve3d.getCPtr(curve), OdGeSurface.getCPtr(surface)), false);
552
554 return ret;
555}
556
557 protected static string getRealClassName(IntPtr ptr) {
558 string ret = GlobalsPINVOKE.OdGeCurve2d_getRealClassName(ptr /*SIMPLETYPE*/);
560 return ret;
561 }
562
567 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
568
569}
570
571}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_appendSamplePoints__SWIG_2(HandleRef jarg1, int jarg2, IntPtr jarg3)
static bool OdGeCurve2d_explode__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static bool OdGeCurve2d_setInterval__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_isOn__SWIG_3(HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_explode__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_evalPoint__SWIG_1(HandleRef jarg1, double jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_appendSamplePoints__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5, IntPtr jarg6)
static bool OdGeCurve2d_area__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, out double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getSamplePoints__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3)
static double OdGeCurve2d_distanceTo__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_isLinear__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_convertTo3d__SWIG_0(HandleRef jarg1)
static IntPtr OdGeCurve2d_scaleBy__SWIG_1(HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_5(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_appendSamplePoints__SWIG_1(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5)
static IntPtr OdGeCurve2d_mirror(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_6(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_getSplitCurves(HandleRef jarg1, double jarg2, out IntPtr jarg3, out IntPtr jarg4)
static void OdGeCurve2d_getClosestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_translateBy(HandleRef jarg1, IntPtr jarg2)
static double OdGeCurve2d_distanceTo__SWIG_3(HandleRef jarg1, HandleRef jarg2)
static bool OdGeCurve2d_hasStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_getNormalPoint__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeCurve2d_restoreUvCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getInterval__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_hasMidPoint__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_evalPoint__SWIG_0(HandleRef jarg1, double jarg2)
static IntPtr OdGeCurve2d_copy(HandleRef jarg1)
static void OdGeCurve2d_convertTo3d__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getClosestPointTo__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramAtLength(HandleRef jarg1, double jarg2, double jarg3, bool jarg4, double jarg5)
static bool OdGeCurve2d_isLinear__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_boundBlock__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_reverseParam(HandleRef jarg1)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_getTrimmedOffset__SWIG_2(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_isPeriodic(HandleRef jarg1, out double jarg2)
static global::System.IntPtr OdGeCurve2d_midPoint__SWIG_1(HandleRef jarg1)
static IntPtr OdGeCurve2d_setInterval__SWIG_0(HandleRef jarg1)
static bool OdGeCurve2d_hasEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_rotateBy__SWIG_1(HandleRef jarg1, double jarg2)
static bool OdGeCurve2d_isClosed__SWIG_1(HandleRef jarg1)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_area__SWIG_1(HandleRef jarg1, double jarg2, double jarg3, out double jarg4)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGeCurve2d_getTrimmedOffset__SWIG_1(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static bool OdGeCurve2d_isOn__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramOf__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCurve2d_getClosestPointTo__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static IntPtr OdGeCurve2d_rotateBy__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeCurve2d_getSamplePoints__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool OdGeCurve2d_getNormalPoint__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeCurve2d_isOn__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static bool OdGeCurve2d_hasMidPoint__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_5(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCurve2d_distanceTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_orthoBoundBlock__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeCurve2d_orthoBoundBlock__SWIG_0(HandleRef jarg1)
static double OdGeCurve2d_length__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_2(HandleRef jarg1)
static void OdGeCurve2d_getTrimmedOffset__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void OdGeCurve2d_getClosestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramOf__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_boundBlock__SWIG_0(HandleRef jarg1)
static IntPtr OdGeCurve2d_Assign(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getInterval__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeCurve2d_isOn__SWIG_2(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeCurve2d_scaleBy__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCurve2d_length__SWIG_1(HandleRef jarg1, double jarg2)
static double OdGeCurve2d_paramOf__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeCurve2d(HandleRef jarg1)
static double OdGeCurve2d_distanceTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeCurve2d_restoreUvCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_midPoint__SWIG_0(HandleRef jarg1, double jarg2)
static void OdGeCurve2d_getSamplePoints__SWIG_3(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5)
static bool OdGeCurve2d_isClosed__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_transformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OdGeCurve2d_getRealClassName(IntPtr jarg1)
OdGeBoundBlock2d orthoBoundBlock(OdGeInterval range)
bool isLinear(OdGeLine2d line, OdGeTol tol)
OdGeCurve2d Assign(OdGeCurve2d curve)
OdGeBoundBlock2d orthoBoundBlock()
OdGeExtents2d getGeomExtents(OdGeInterval range)
bool hasMidPoint(OdGePoint2d point, double coef)
new OdGeCurve2d translateBy(OdGeVector2d translateVec)
double distanceTo(OdGeCurve2d otherCur, OdGeTol tol)
OdGePoint2d closestPointTo(OdGePoint2d point, out double param, OdGeInterval range, OdGeTol tol)
OdGeCurve2d(IntPtr cPtr, bool cMemoryOwn)
bool getNormalPoint(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv)
bool isClosed(OdGeTol tol)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1, OdGeInterval nbhd2, OdGeTol tol)
OdGePoint2d closestPointTo(OdGePoint2d point)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv)
double length(double tol)
bool isOn(double param)
new OdGeCurve2d rotateBy(double angle)
void getSplitCurves(double param, out OdGeCurve2d piece1, out OdGeCurve2d piece2)
new OdGeCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
bool isPeriodic(out double period)
static string getRealClassName(IntPtr ptr)
bool isOn(double param, OdGeTol tol)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt, OdGeInterval nbhd)
bool isOn(OdGePoint2d point, out double param, OdGeTol tol)
OdGeBoundBlock2d boundBlock()
bool setInterval(OdGeInterval interval)
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray paramArray)
double paramOf(OdGePoint2d point, OdGeTol tol)
void getClosestPointTo(OdGeCurve2d curve2d, OdGePointOnCurve2d pntOnThisCrv, OdGePointOnCurve2d pntOnOtherCrv, OdGeTol tol)
bool area(double startParam, double endParam, out double value, OdGeTol tol)
static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface, OdGeTol tol)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1, OdGeInterval nbhd2)
void getInterval(OdGeInterval interval, OdGePoint2d start, OdGePoint2d end)
OdGePoint2d closestPointTo(OdGePoint2d point, OdGeTol tol)
OdGeCurve2d setInterval()
OdGeExtents2d getGeomExtents()
Teigha.Core.OdGe.EntityId vb_type()
new OdGeCurve2d copy()
double distanceTo(OdGePoint2d point)
void getInterval(OdGeInterval interval)
bool isOn(OdGePoint2d point, out double param)
OdGeCurve3d convertTo3d()
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1)
double paramOf(OdGePoint2d point, OdGeInterval range, OdGeTol tol)
double distanceTo(OdGePoint2d point, OdGeTol tol)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType)
new OdGeCurve2d mirror(OdGeLine2d line)
bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve, OdGeInterval interval)
bool hasStartPoint(OdGePoint2d startPoint)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType, OdGeTol tol)
double paramOf(OdGePoint2d point)
OdGeBoundBlock2d boundBlock(OdGeInterval range)
OdGeCurve2d reverseParam()
bool hasEndPoint(OdGePoint2d endPoint)
double length(double fromParam, double toParam, double tol)
void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray)
OdGePoint2d closestPointTo(OdGeCurve2d curve2d, OdGePoint2d pntOnOtherCrv, OdGeTol tol)
void getClosestPointTo(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv, OdGeTol tol)
override void Dispose(bool disposing)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt, OdGeInterval nbhd, OdGeTol tol)
static HandleRef getCPtr(OdGeCurve2d obj)
void getSamplePoints(int numSample, OdGePoint2dArray pointArray)
OdGePoint2d closestPointTo(OdGePoint2d point, out double param, OdGeInterval range)
new OdGeCurve2d scaleBy(double scaleFactor)
static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface)
void convertTo3d(OdGeCurve3d curve3d)
OdGePoint2d evalPoint(double param)
new OdGeCurve2d transformBy(OdGeMatrix2d xfm)
bool area(double startParam, double endParam, out double value)
OdGePoint2d evalPoint(double param, int numDeriv, OdGeVector2dArray derivatives)
bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList)
double distanceTo(OdGeCurve2d otherCur)
bool hasMidPoint(OdGePoint2d point)
OdGeExtents2d getGeomExtents(OdGeInterval range, OdGeMatrix2d coordSystem)
void getClosestPointTo(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv)
void appendSamplePoints(int numSample, OdGePoint2dArray pointArray)
bool isLinear(OdGeLine2d line)
OdGePoint2d closestPointTo(OdGeCurve2d curve2d, OdGePoint2d pntOnOtherCrv)
OdGePoint2d midPoint(double coef)
double paramAtLength(double datumParam, double length, bool posParamDir, double tol)
void getClosestPointTo(OdGeCurve2d curve2d, OdGePointOnCurve2d pntOnThisCrv, OdGePointOnCurve2d pntOnOtherCrv)
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray)
new OdGeCurve2d rotateBy(double angle, OdGePoint2d basePoint)
bool getNormalPoint(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv, OdGeTol tol)
void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray pParamArray)
static HandleRef getCPtr(OdGeCurve2dPtrArray obj)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeInterval obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePointOnCurve2d obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2dArray obj)
static HandleRef getCPtr(OdGeVector2d obj)
static HandleRef getCPtr(OdIntArray obj)
Definition OdIntArray.cs:28