Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeSplineEnt3d.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 OdGeSplineEnt3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSplineEnt3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSplineEnt3d 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 OdGeSplineEnt3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeSplineEnt3d_copy(swigCPtr);
44 OdGeSplineEnt3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeSplineEnt3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeSplineEnt3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeSplineEnt3d ret = new OdGeSplineEnt3d(GlobalsPINVOKE.OdGeSplineEnt3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeSplineEnt3d scaleBy(double scaleFactor) {
88 return ret;
89 }
90
96
97 public int degree() {
98 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_degree(swigCPtr);
100 return ret;
101 }
102
103 public int order() {
104 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_order(swigCPtr);
106 return ret;
107 }
108
109 public int numKnots() {
110 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_numKnots(swigCPtr);
112 return ret;
113 }
114
120
126
127 public int continuityAtKnot(int index, OdGeTol tol) {
130 return ret;
131 }
132
133 public int continuityAtKnot(int index) {
136 return ret;
137 }
138
139 public double startParam() {
140 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_startParam(swigCPtr);
142 return ret;
143 }
144
145 public double endParam() {
146 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_endParam(swigCPtr);
148 return ret;
149 }
150
156
162
163 public bool hasFitData() {
164 bool ret = GlobalsPINVOKE.OdGeSplineEnt3d_hasFitData(swigCPtr);
166 return ret;
167 }
168
169 public double knotAt(int knotIndex) {
170 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_knotAt(swigCPtr, knotIndex);
172 return ret;
173 }
174
175 public OdGeSplineEnt3d setKnotAt(int knotIndex, double val) {
176 OdGeSplineEnt3d ret = new OdGeSplineEnt3d(GlobalsPINVOKE.OdGeSplineEnt3d_setKnotAt(swigCPtr, knotIndex, val), false);
178 return ret;
179 }
180
181 public OdGePoint3d controlPointAt(int controlPointIndex) {
182 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSplineEnt3d_controlPointAt(swigCPtr, controlPointIndex), true);
184 return ret;
185 }
186
187 public OdGeSplineEnt3d setControlPointAt(int controlPointIndex, OdGePoint3d point) {
188 OdGeSplineEnt3d ret = new OdGeSplineEnt3d(GlobalsPINVOKE.OdGeSplineEnt3d_setControlPointAt(swigCPtr, controlPointIndex, OdGePoint3d.getCPtr(point)), false);
190 return ret;
191 }
192
198
203 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
204
209 public int vb_order() { return this.order(); }
210
211}
212
213}
static global::System.Exception Retrieve()
static int OdGeSplineEnt3d_continuityAtKnot__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeSplineEnt3d_setControlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSplineEnt3d_setKnotAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
static global::System.IntPtr OdGeSplineEnt3d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeSplineEnt3d_knotAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGeSplineEnt3d_isRational(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSplineEnt3d_controlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeSplineEnt3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSplineEnt3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeSplineEnt3d_startParam(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeSplineEnt3d_numKnots(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeSplineEnt3d_endParam(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSplineEnt3d_hasFitData(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdGeSplineEnt3d_continuityAtKnot__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSplineEnt3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdGeSplineEnt3d_numControlPoints(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeSplineEnt3d_order(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_knots(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdGeSplineEnt3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeSplineEnt3d_degree(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSplineEnt3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
new OdGeSplineEnt3d rotateBy(double angle, OdGeVector3d vect)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeSplineEnt3d copy()
new OdGeSplineEnt3d mirror(OdGePlane plane)
double knotAt(int knotIndex)
static HandleRef getCPtr(OdGeSplineEnt3d obj)
OdGeSplineEnt3d(IntPtr cPtr, bool cMemoryOwn)
int continuityAtKnot(int index, OdGeTol tol)
new OdGeSplineEnt3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
new OdGeSplineEnt3d translateBy(OdGeVector3d translateVec)
new OdGeSplineEnt3d scaleBy(double scaleFactor)
OdGeSplineEnt3d Assign(OdGeSplineEnt3d spline)
OdGeSplineEnt3d setControlPointAt(int controlPointIndex, OdGePoint3d point)
OdGePoint3d controlPointAt(int controlPointIndex)
OdGeSplineEnt3d setKnotAt(int knotIndex, double val)
new OdGeSplineEnt3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
override void Dispose(bool disposing)
new OdGeSplineEnt3d transformBy(OdGeMatrix3d xfm)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)