Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeNurbCurve2d.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeNurbCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeNurbCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeNurbCurve2d 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 OdGeNurbCurve2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_copy(swigCPtr);
44 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeNurbCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
80 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint2d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeNurbCurve2d scaleBy(double scaleFactor) {
88 return ret;
89 }
90
91 public OdGeNurbCurve2d() : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_0(), true) {
93 }
94
95 public OdGeNurbCurve2d(OdGeNurbCurve2d source) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_1(OdGeNurbCurve2d.getCPtr(source)), true) {
97 }
98
102
106
110
114
115 public OdGeNurbCurve2d(int degree, OdGePolyline2d fitPolyline, bool isPeriodic) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_6(degree, OdGePolyline2d.getCPtr(fitPolyline), isPeriodic), true) {
117 }
118
119 public OdGeNurbCurve2d(int degree, OdGePolyline2d fitPolyline) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_7(degree, OdGePolyline2d.getCPtr(fitPolyline)), true) {
121 }
122
123 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGeTol fitTolerance) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_8(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, startTangentDefined, endTangentDefined, OdGeTol.getCPtr(fitTolerance)), true) {
125 }
126
127 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_9(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, startTangentDefined, endTangentDefined), true) {
129 }
130
131 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_10(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, startTangentDefined), true) {
133 }
134
135 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_11(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle), true) {
137 }
138
139 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeTol fitTolerance) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_12(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeTol.getCPtr(fitTolerance)), true) {
141 }
142
143 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_13(OdGePoint2dArray.getCPtr(fitPoints).Handle), true) {
145 }
146
147 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents, OdGeTol fitTolerance, bool isPeriodic) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_14(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2dArray.getCPtr(fitTangents), OdGeTol.getCPtr(fitTolerance), isPeriodic), true) {
149 }
150
151 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents, OdGeTol fitTolerance) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_15(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2dArray.getCPtr(fitTangents), OdGeTol.getCPtr(fitTolerance)), true) {
153 }
154
155 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_16(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2dArray.getCPtr(fitTangents)), true) {
157 }
158
159 public OdGeNurbCurve2d(OdGeEllipArc2d ellipse) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_17(OdGeEllipArc2d.getCPtr(ellipse)), true) {
161 }
162
163 public OdGeNurbCurve2d(OdGeLineSeg2d linSeg) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_18(OdGeLineSeg2d.getCPtr(linSeg)), true) {
165 }
166
167 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGe.OdGeKnotParameterization knotParam, OdGeTol fitTol) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_19(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, startTangentDefined, endTangentDefined, (int)knotParam, OdGeTol.getCPtr(fitTol)), true) {
169 }
170
171 public OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGe.OdGeKnotParameterization knotParam) : this(GlobalsPINVOKE.new_OdGeNurbCurve2d__SWIG_20(OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, startTangentDefined, endTangentDefined, (int)knotParam), true) {
173 }
174
180
186
187 public bool getFitPointAt(int fitPointIndex, OdGePoint2d point) {
188 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_getFitPointAt(swigCPtr, fitPointIndex, OdGePoint2d.getCPtr(point));
190 return ret;
191 }
192
193 public bool getFitTolerance(OdGeTol fitTolerance) {
194 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_getFitTolerance(swigCPtr, OdGeTol.getCPtr(fitTolerance));
196 return ret;
197 }
198
199 public bool getFitTangents(OdGeVector2d startTangent, OdGeVector2d endTangent) {
200 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_getFitTangents(swigCPtr, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle);
202 return ret;
203 }
204
205 public bool getFitData(OdGePoint2dArray fitPoints, OdGeTol fitTolerance, out bool tangentsExist, OdGeVector2d startTangent, OdGeVector2d endTangent) {
206 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_getFitData__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeTol.getCPtr(fitTolerance), out tangentsExist, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle);
208 return ret;
209 }
210
211 public bool getFitData(OdGePoint2dArray fitPoints, OdGeTol fitTolerance, out bool tangentsExist, OdGeVector2d startTangent, OdGeVector2d endTangent, ref OdGe.OdGeKnotParameterization knotParam) {
212 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_getFitData__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeTol.getCPtr(fitTolerance), out tangentsExist, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, ref knotParam);
214 return ret;
215 }
216
217 public void getDefinitionData(out int degree, out bool rational, out bool periodic, OdGeKnotVector knots, OdGePoint2dArray controlPoints, OdGeDoubleArray weights) {
218 GlobalsPINVOKE.OdGeNurbCurve2d_getDefinitionData(swigCPtr, out degree, out rational, out periodic, OdGeKnotVector.getCPtr(knots), OdGePoint2dArray.getCPtr(controlPoints).Handle, OdGeDoubleArray.getCPtr(weights));
220 }
221
227
228 public double weightAt(int weightIndex) {
229 double ret = GlobalsPINVOKE.OdGeNurbCurve2d_weightAt(swigCPtr, weightIndex);
231 return ret;
232 }
233
234 public OdGeNurbCurve2d setWeightAt(int weightIndex, double weight) {
235 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setWeightAt(swigCPtr, weightIndex, weight), false);
237 return ret;
238 }
239
240 public bool evalMode() {
241 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_evalMode(swigCPtr);
243 return ret;
244 }
245
251
257
263
269
270 public bool setFitPointAt(int fitPointIndex, OdGePoint2d point) {
271 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_setFitPointAt(swigCPtr, fitPointIndex, OdGePoint2d.getCPtr(point));
273 return ret;
274 }
275
276 public bool addFitPointAt(int fitPointIndex, OdGePoint2d point) {
277 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_addFitPointAt(swigCPtr, fitPointIndex, OdGePoint2d.getCPtr(point));
279 return ret;
280 }
281
282 public bool deleteFitPointAt(int fitPointIndex) {
283 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_deleteFitPointAt(swigCPtr, fitPointIndex);
285 return ret;
286 }
287
288 public bool addControlPointAt(double newKnot, OdGePoint2d point, double weight) {
289 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_addControlPointAt__SWIG_0(swigCPtr, newKnot, OdGePoint2d.getCPtr(point), weight);
291 return ret;
292 }
293
294 public bool addControlPointAt(double newKnot, OdGePoint2d point) {
297 return ret;
298 }
299
300 public bool deleteControlPointAt(int index) {
301 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_deleteControlPointAt(swigCPtr, index);
303 return ret;
304 }
305
311
317
323
324 public bool setFitTangents(OdGeVector2d startTangent, OdGeVector2d endTangent) {
325 bool ret = GlobalsPINVOKE.OdGeNurbCurve2d_setFitTangents(swigCPtr, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle);
327 return ret;
328 }
329
330 public OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol) {
331 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, OdGeTol.getCPtr(fitTol)), false);
333 return ret;
334 }
335
336 public OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent) {
337 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle), false);
339 return ret;
340 }
341
342 public OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol, bool isPeriodic) {
343 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_2(swigCPtr, OdGeKnotVector.getCPtr(fitKnots), OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, OdGeTol.getCPtr(fitTol), isPeriodic), false);
345 return ret;
346 }
347
348 public OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol) {
349 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_3(swigCPtr, OdGeKnotVector.getCPtr(fitKnots), OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, OdGeTol.getCPtr(fitTol)), false);
351 return ret;
352 }
353
354 public OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent) {
355 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_4(swigCPtr, OdGeKnotVector.getCPtr(fitKnots), OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle), false);
357 return ret;
358 }
359
365
371
372 public OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGe.OdGeKnotParameterization knotParam, OdGeTol fitTol) {
373 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_7(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, (int)knotParam, OdGeTol.getCPtr(fitTol)), false);
375 return ret;
376 }
377
379 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_setFitData__SWIG_8(swigCPtr, OdGePoint2dArray.getCPtr(fitPoints).Handle, OdGeVector2d.getCPtr(startTangent).Handle, OdGeVector2d.getCPtr(endTangent).Handle, (int)knotParam), false);
381 return ret;
382 }
383
389
390 public OdGeNurbCurve2d addKnot(double newKnot) {
391 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_addKnot(swigCPtr, newKnot), false);
393 return ret;
394 }
395
401
407
413
419
425
426 public OdGeNurbCurve2d hardTrimByParams(double newStartParam, double newEndParam) {
427 OdGeNurbCurve2d ret = new OdGeNurbCurve2d(GlobalsPINVOKE.OdGeNurbCurve2d_hardTrimByParams(swigCPtr, newStartParam, newEndParam), false);
429 return ret;
430 }
431
437
443
449
455
461
467
473
479
485
491
497
503
509
510 public static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain, OdGeTol tol, bool sameParametrization) {
511 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_convertFrom__SWIG_0(OdGeCurve2d.getCPtr(source), OdGeInterval.getCPtr(domain), OdGeTol.getCPtr(tol), sameParametrization);
512 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
514 return ret;
515 }
516
517 public static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain, OdGeTol tol) {
519 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
521 return ret;
522 }
523
524 public static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain) {
525 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_convertFrom__SWIG_2(OdGeCurve2d.getCPtr(source), OdGeInterval.getCPtr(domain));
526 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
528 return ret;
529 }
530
531 public static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeTol tol, bool sameParametrization) {
532 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_convertFrom__SWIG_3(OdGeCurve2d.getCPtr(source), OdGeTol.getCPtr(tol), sameParametrization);
533 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
535 return ret;
536 }
537
538 public static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeTol tol) {
539 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_convertFrom__SWIG_4(OdGeCurve2d.getCPtr(source), OdGeTol.getCPtr(tol));
540 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
542 return ret;
543 }
544
546 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeNurbCurve2d_convertFrom__SWIG_5(OdGeCurve2d.getCPtr(source));
547 OdGeNurbCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve2d(cPtr, false);
549 return ret;
550 }
551
556 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
557
562 public int vb_order() { return this.order(); }
563
564}
565
566}
static global::System.Exception Retrieve()
static bool OdGeNurbCurve2d_getParamsOfC1Discontinuity__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_makeRational__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeNurbCurve2d_getDefinitionData(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2, out bool jarg3, out bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeNurbCurve2d_deleteControlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGeNurbCurve2d_addControlPointAt__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeNurbCurve2d_setFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeNurbCurve2d_getFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_setEvalMode__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_intersectWith__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static double OdGeNurbCurve2d_weightAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void delete_OdGeNurbCurve2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeNurbCurve2d_makePeriodic(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_addKnot(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_5(HandleRef jarg1)
static bool OdGeNurbCurve2d_deleteFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, IntPtr jarg4, int jarg5)
static global::System.IntPtr OdGeNurbCurve2d_makeRational__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeNurbCurve2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_getFitTangents(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3)
static bool OdGeNurbCurve2d_setFitTolerance__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static bool OdGeNurbCurve2d_getParamsOfC1Discontinuity__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGeNurbCurve2d_setFitKnotParameterization(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGeNurbCurve2d_addFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeNurbCurve2d_getFitData__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4, IntPtr jarg5, IntPtr jarg6)
static global::System.IntPtr OdGeNurbCurve2d_makeNonPeriodic(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_setFitTolerance__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeNurbCurve2d_intersectWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, IntPtr jarg5)
static bool OdGeNurbCurve2d_getFitKnotParameterization(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeKnotParameterization jarg2)
static bool OdGeNurbCurve2d_getParamsOfG1Discontinuity__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, IntPtr jarg3)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, IntPtr jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static global::System.IntPtr OdGeNurbCurve2d_insertKnot(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, IntPtr jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, bool jarg7)
static global::System.IntPtr OdGeNurbCurve2d_elevateDegree(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGeNurbCurve2d_addControlPointAt__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static bool OdGeNurbCurve2d_getParamsOfG1Discontinuity__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static global::System.IntPtr OdGeNurbCurve2d_joinWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_hardTrimByParams(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, IntPtr jarg4)
static bool OdGeNurbCurve2d_getFitTolerance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_convertFrom__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeNurbCurve2d_getFitData__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4, IntPtr jarg5, IntPtr jarg6, ref OdGe.OdGeKnotParameterization jarg7)
static global::System.IntPtr OdGeNurbCurve2d_setWeightAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
static int OdGeNurbCurve2d_numFitPoints(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_setFitTangents(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3)
static global::System.IntPtr OdGeNurbCurve2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, bool jarg6)
static global::System.IntPtr OdGeNurbCurve2d_setFitData__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, IntPtr jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static global::System.IntPtr OdGeNurbCurve2d_joinWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbCurve2d_setEvalMode__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGeNurbCurve2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbCurve2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeNurbCurve2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeNurbCurve2d_makeOpen(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeNurbCurve2d_numWeights(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_makeClosed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeNurbCurve2d_purgeFitData(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeNurbCurve2d_evalMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbCurve2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
bool isPeriodic(out double period)
static HandleRef getCPtr(OdGeCurve2d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
OdGeKnotParameterization
Definition OdGe.cs:277
static HandleRef getCPtr(OdGeInterval obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent)
OdGeNurbCurve2d(int degree, OdGeKnotVector knots, OdGePoint2dArray controlPoints, bool isPeriodic)
OdGeNurbCurve2d(int degree, OdGePolyline2d fitPolyline)
OdGeNurbCurve2d Assign(OdGeNurbCurve2d spline)
new OdGeNurbCurve2d rotateBy(double angle, OdGePoint2d basePoint)
bool getParamsOfG1Discontinuity(OdGeDoubleArray params_)
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain)
void getDefinitionData(out int degree, out bool rational, out bool periodic, OdGeKnotVector knots, OdGePoint2dArray controlPoints, OdGeDoubleArray weights)
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source)
bool getFitData(OdGePoint2dArray fitPoints, OdGeTol fitTolerance, out bool tangentsExist, OdGeVector2d startTangent, OdGeVector2d endTangent, ref OdGe.OdGeKnotParameterization knotParam)
bool intersectWith(OdGeLine2d line2d, OdGePoint2dArray pnts2d, OdGeTol tol)
bool setFitTangents(OdGeVector2d startTangent, OdGeVector2d endTangent)
OdGeNurbCurve2d setFitData(int degree, OdGePoint2dArray fitPoints)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents, OdGeTol fitTolerance)
bool getFitData(OdGePoint2dArray fitPoints, OdGeTol fitTolerance, out bool tangentsExist, OdGeVector2d startTangent, OdGeVector2d endTangent)
OdGeNurbCurve2d setFitData(int degree, OdGePoint2dArray fitPoints, OdGeTol fitTol)
OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGe.OdGeKnotParameterization knotParam, OdGeTol fitTol)
OdGeNurbCurve2d(int degree, OdGePolyline2d fitPolyline, bool isPeriodic)
bool getFitTangents(OdGeVector2d startTangent, OdGeVector2d endTangent)
OdGeNurbCurve2d(int degree, OdGeKnotVector knots, OdGePoint2dArray controlPoints, OdGeDoubleArray weights, bool isPeriodic)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents)
new OdGeNurbCurve2d mirror(OdGeLine2d line)
new OdGeNurbCurve2d transformBy(OdGeMatrix2d xfm)
bool addControlPointAt(double newKnot, OdGePoint2d point)
new OdGeNurbCurve2d scaleBy(double scaleFactor)
OdGeNurbCurve2d addKnot(double newKnot)
bool setFitKnotParameterization(OdGe.OdGeKnotParameterization knotParam)
new OdGeNurbCurve2d copy()
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGeTol fitTolerance)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeTol fitTolerance)
OdGeNurbCurve2d makeRational(double weight)
bool getParamsOfG1Discontinuity(OdGeDoubleArray params_, OdGeTol tol)
OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGe.OdGeKnotParameterization knotParam)
OdGeNurbCurve2d insertKnot(double newKnot)
bool setFitPointAt(int fitPointIndex, OdGePoint2d point)
OdGeNurbCurve2d(IntPtr cPtr, bool cMemoryOwn)
OdGeNurbCurve2d hardTrimByParams(double newStartParam, double newEndParam)
new OdGeNurbCurve2d rotateBy(double angle)
OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol)
bool intersectWith(OdGeLine2d line2d, OdGePoint2dArray pnts2d)
bool deleteFitPointAt(int fitPointIndex)
bool getFitKnotParameterization(ref OdGe.OdGeKnotParameterization knotParam)
OdGeNurbCurve2d(OdGeNurbCurve2d source)
bool addControlPointAt(double newKnot, OdGePoint2d point, double weight)
bool getFitTolerance(OdGeTol fitTolerance)
OdGeNurbCurve2d setEvalMode(bool evalMode)
OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol)
bool getFitPointAt(int fitPointIndex, OdGePoint2d point)
OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent)
bool intersectWith(OdGeLine2d line2d, OdGePoint2dArray pnts2d, OdGeTol tol, OdGeDoubleArray params_)
OdGeNurbCurve2d makeNonPeriodic()
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain, OdGeTol tol)
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeTol tol)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2dArray fitTangents, OdGeTol fitTolerance, bool isPeriodic)
Teigha.Core.OdGe.EntityId vb_type()
bool addFitPointAt(int fitPointIndex, OdGePoint2d point)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGe.OdGeKnotParameterization knotParam)
override void Dispose(bool disposing)
OdGeNurbCurve2d joinWith(OdGeNurbCurve2d curve, OdGeTol iTolerance)
OdGeNurbCurve2d(OdGeLineSeg2d linSeg)
bool deleteControlPointAt(int index)
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeInterval domain, OdGeTol tol, bool sameParametrization)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined)
OdGeNurbCurve2d joinWith(OdGeNurbCurve2d curve)
bool setFitTolerance(OdGeTol fitTol)
bool getParamsOfC1Discontinuity(OdGeDoubleArray params_, OdGeTol tol)
bool getParamsOfC1Discontinuity(OdGeDoubleArray params_)
static HandleRef getCPtr(OdGeNurbCurve2d obj)
double weightAt(int weightIndex)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined)
OdGeNurbCurve2d setFitData(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent)
OdGeNurbCurve2d(OdGeEllipArc2d ellipse)
OdGeNurbCurve2d setFitData(OdGeKnotVector fitKnots, OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, OdGeTol fitTol, bool isPeriodic)
OdGeNurbCurve2d(int degree, OdGeKnotVector knots, OdGePoint2dArray controlPoints)
OdGeNurbCurve2d setWeightAt(int weightIndex, double weight)
OdGeNurbCurve2d(int degree, OdGeKnotVector knots, OdGePoint2dArray controlPoints, OdGeDoubleArray weights)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints, OdGeVector2d startTangent, OdGeVector2d endTangent, bool startTangentDefined, bool endTangentDefined, OdGe.OdGeKnotParameterization knotParam, OdGeTol fitTol)
static OdGeNurbCurve2d convertFrom(OdGeCurve2d source, OdGeTol tol, bool sameParametrization)
new OdGeNurbCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
OdGeNurbCurve2d(OdGePoint2dArray fitPoints)
OdGeNurbCurve2d elevateDegree(int plusDegree)
new OdGeNurbCurve2d translateBy(OdGeVector2d translateVec)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)