Extended .NET SDK Documentation 2024 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 bool isRational() {
43 bool ret = GlobalsPINVOKE.OdGeSplineEnt3d_isRational(swigCPtr);
45 return ret;
46 }
47
48 public int degree() {
49 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_degree(swigCPtr);
51 return ret;
52 }
53
54 public int order() {
55 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_order(swigCPtr);
57 return ret;
58 }
59
60 public int numKnots() {
61 int ret = GlobalsPINVOKE.OdGeSplineEnt3d_numKnots(swigCPtr);
63 return ret;
64 }
65
69 return ret;
70 }
71
72 public int numControlPoints() {
75 return ret;
76 }
77
78 public int continuityAtKnot(int index, OdGeTol tol) {
81 return ret;
82 }
83
84 public int continuityAtKnot(int index) {
87 return ret;
88 }
89
90 public double startParam() {
91 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_startParam(swigCPtr);
93 return ret;
94 }
95
96 public double endParam() {
97 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_endParam(swigCPtr);
99 return ret;
100 }
101
105 return ret;
106 }
107
111 return ret;
112 }
113
114 public bool hasFitData() {
115 bool ret = GlobalsPINVOKE.OdGeSplineEnt3d_hasFitData(swigCPtr);
117 return ret;
118 }
119
120 public double knotAt(int knotIndex) {
121 double ret = GlobalsPINVOKE.OdGeSplineEnt3d_knotAt(swigCPtr, knotIndex);
123 return ret;
124 }
125
126 public OdGeSplineEnt3d setKnotAt(int knotIndex, double val) {
127 OdGeSplineEnt3d ret = new OdGeSplineEnt3d(GlobalsPINVOKE.OdGeSplineEnt3d_setKnotAt(swigCPtr, knotIndex, val), false);
129 return ret;
130 }
131
132 public OdGePoint3d controlPointAt(int controlPointIndex) {
133 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSplineEnt3d_controlPointAt(swigCPtr, controlPointIndex), true);
135 return ret;
136 }
137
138 public OdGeSplineEnt3d setControlPointAt(int controlPointIndex, OdGePoint3d point) {
139 OdGeSplineEnt3d ret = new OdGeSplineEnt3d(GlobalsPINVOKE.OdGeSplineEnt3d_setControlPointAt(swigCPtr, controlPointIndex, OdGePoint3d.getCPtr(point)), false);
141 return ret;
142 }
143
147 return ret;
148 }
149
154 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
155
160 public int vb_order() { return this.order(); }
161
162}
163
164}
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 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_controlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int 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 int OdGeSplineEnt3d_continuityAtKnot__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int 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 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)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
Teigha.Core.OdGe.EntityId vb_type()
double knotAt(int knotIndex)
static HandleRef getCPtr(OdGeSplineEnt3d obj)
OdGeSplineEnt3d(IntPtr cPtr, bool cMemoryOwn)
int continuityAtKnot(int index, OdGeTol tol)
OdGeSplineEnt3d Assign(OdGeSplineEnt3d spline)
OdGeSplineEnt3d setControlPointAt(int controlPointIndex, OdGePoint3d point)
OdGePoint3d controlPointAt(int controlPointIndex)
OdGeSplineEnt3d setKnotAt(int knotIndex, double val)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26