Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeCubicSplineCurve3d.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 OdGeCubicSplineCurve3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCubicSplineCurve3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCubicSplineCurve3d 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
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeCubicSplineCurve3d_copy(swigCPtr);
44 OdGeCubicSplineCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeCubicSplineCurve3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
84
90
91 public OdGeCubicSplineCurve3d() : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_0(), true) {
93 }
94
98
99 public OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeTol tol) : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_2(OdGePoint3dArray.getCPtr(fitPnts), OdGeTol.getCPtr(tol)), true) {
101 }
102
103 public OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts) : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_3(OdGePoint3dArray.getCPtr(fitPnts)), true) {
105 }
106
107 public OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeVector3d startDeriv, OdGeVector3d endDeriv, OdGeTol tol) : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_4(OdGePoint3dArray.getCPtr(fitPnts), OdGeVector3d.getCPtr(startDeriv), OdGeVector3d.getCPtr(endDeriv), OdGeTol.getCPtr(tol)), true) {
109 }
110
111 public OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeVector3d startDeriv, OdGeVector3d endDeriv) : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_5(OdGePoint3dArray.getCPtr(fitPnts), OdGeVector3d.getCPtr(startDeriv), OdGeVector3d.getCPtr(endDeriv)), true) {
113 }
114
115 public OdGeCubicSplineCurve3d(OdGeCurve3d curve, double epsilon) : this(GlobalsPINVOKE.new_OdGeCubicSplineCurve3d__SWIG_6(OdGeCurve3d.getCPtr(curve), epsilon), true) {
117 }
118
122
126
132
133 public OdGePoint3d fitPointAt(int fitPointIndex) {
134 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeCubicSplineCurve3d_fitPointAt(swigCPtr, fitPointIndex), true);
136 return ret;
137 }
138
144
145 public OdGeVector3d firstDerivAt(int fitPointIndex) {
146 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGeCubicSplineCurve3d_firstDerivAt(swigCPtr, fitPointIndex), true);
148 return ret;
149 }
150
156
162
167 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
168
173 public int vb_order() { return this.order(); }
174
175}
176
177}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCubicSplineCurve3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCubicSplineCurve3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCubicSplineCurve3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCubicSplineCurve3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCubicSplineCurve3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCubicSplineCurve3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdGeCubicSplineCurve3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCubicSplineCurve3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeCubicSplineCurve3d_numFitPoints(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCubicSplineCurve3d_setFirstDerivAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCubicSplineCurve3d_firstDerivAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeCubicSplineCurve3d_setFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCubicSplineCurve3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCubicSplineCurve3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCubicSplineCurve3d_fitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
OdGeCubicSplineCurve3d(OdGeKnotVector knots, OdGePoint3dArray fitPnts, OdGeVector3dArray firstDerivs)
OdGeCubicSplineCurve3d(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGeCubicSplineCurve3d obj)
OdGeCubicSplineCurve3d(OdGeCubicSplineCurve3d source)
OdGeCubicSplineCurve3d setFitPointAt(int fitPointIndex, OdGePoint3d point)
OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts)
OdGeVector3d firstDerivAt(int fitPointIndex)
new OdGeCubicSplineCurve3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
new OdGeCubicSplineCurve3d mirror(OdGePlane plane)
new OdGeCubicSplineCurve3d scaleBy(double scaleFactor)
new OdGeCubicSplineCurve3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGePoint3d fitPointAt(int fitPointIndex)
OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeVector3d startDeriv, OdGeVector3d endDeriv, OdGeTol tol)
OdGeCubicSplineCurve3d setFirstDerivAt(int fitPointIndex, OdGeVector3d deriv)
OdGeCubicSplineCurve3d(OdGeKnotVector knots, OdGePoint3dArray fitPnts, OdGeVector3dArray firstDerivs, bool isPeriodic)
override void Dispose(bool disposing)
new OdGeCubicSplineCurve3d transformBy(OdGeMatrix3d xfm)
new OdGeCubicSplineCurve3d rotateBy(double angle, OdGeVector3d vect)
OdGeCubicSplineCurve3d Assign(OdGeCubicSplineCurve3d spline)
OdGeCubicSplineCurve3d(OdGeCurve3d curve, double epsilon)
new OdGeCubicSplineCurve3d translateBy(OdGeVector3d translateVec)
OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeTol tol)
OdGeCubicSplineCurve3d(OdGePoint3dArray fitPnts, OdGeVector3d startDeriv, OdGeVector3d endDeriv)
bool isPeriodic(out double period)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)