Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGePointOnCurve3d.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 OdGePointOnCurve3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGePointOnCurve3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGePointOnCurve3d 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 OdGePointOnCurve3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePointOnCurve3d_copy(swigCPtr);
44 OdGePointOnCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePointOnCurve3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGePointOnCurve3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
82 return ret;
83 }
84
90
91 public OdGePointOnCurve3d() : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_0(), true) {
93 }
94
95 public OdGePointOnCurve3d(OdGeCurve3d curve3d) : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_1(OdGeCurve3d.getCPtr(curve3d)), true) {
97 }
98
99 public OdGePointOnCurve3d(OdGeCurve3d curve3d, double param) : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_2(OdGeCurve3d.getCPtr(curve3d), param), true) {
101 }
102
106
112
113 public OdGeCurve3d curve() {
114 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGePointOnCurve3d_curve(swigCPtr), false);
115
117 return ret;
118}
119
120 public double parameter() {
121 double ret = GlobalsPINVOKE.OdGePointOnCurve3d_parameter(swigCPtr);
123 return ret;
124 }
125
131
132 public OdGePoint3d point(double param) {
135 return ret;
136 }
137
138 public OdGePoint3d point(OdGeCurve3d curve3d, double param) {
141 return ret;
142 }
143
149
150 public OdGeVector3d deriv(int order, double param) {
151 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGePointOnCurve3d_deriv__SWIG_1(swigCPtr, order, param), true);
153 return ret;
154 }
155
156 public OdGeVector3d deriv(int order, OdGeCurve3d curve3d, double param) {
157 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGePointOnCurve3d_deriv__SWIG_2(swigCPtr, order, OdGeCurve3d.getCPtr(curve3d), param), true);
159 return ret;
160 }
161
167
173
174 public bool curvature(out double res) {
175 bool ret = GlobalsPINVOKE.OdGePointOnCurve3d_curvature__SWIG_0(swigCPtr, out res);
177 return ret;
178 }
179
180 public bool curvature(double param, out double res) {
181 bool ret = GlobalsPINVOKE.OdGePointOnCurve3d_curvature__SWIG_1(swigCPtr, param, out res);
183 return ret;
184 }
185
191
197
202 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
203
204}
205
206}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGePointOnCurve3d_setCurve(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve3d_point__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGePointOnCurve3d_curvature__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static bool OdGePointOnCurve3d_isSingular__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGePointOnCurve3d_isSingular__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGePointOnCurve3d_curvature__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, out double jarg3)
static global::System.IntPtr OdGePointOnCurve3d_point__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGePointOnCurve3d_setParameter(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePointOnCurve3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGePointOnCurve3d_parameter(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGePointOnCurve3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGePointOnCurve3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve3d_deriv__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, HandleRef jarg3, double jarg4)
static global::System.IntPtr OdGePointOnCurve3d_deriv__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGePointOnCurve3d_deriv__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
static IntPtr OdGePointOnCurve3d_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve3d_point__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePointOnCurve3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
new OdGePointOnCurve3d scaleBy(double scaleFactor)
OdGeVector3d deriv(int order, double param)
OdGePoint3d point(OdGeCurve3d curve3d, double param)
OdGePointOnCurve3d setParameter(double param)
OdGePointOnCurve3d Assign(OdGePointOnCurve3d src)
new OdGePointOnCurve3d rotateBy(double angle, OdGeVector3d vect)
new OdGePointOnCurve3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeVector3d deriv(int order, OdGeCurve3d curve3d, double param)
Teigha.Core.OdGe.EntityId vb_type()
OdGePointOnCurve3d(OdGeCurve3d curve3d)
new OdGePointOnCurve3d mirror(OdGePlane plane)
new OdGePointOnCurve3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGePointOnCurve3d(IntPtr cPtr, bool cMemoryOwn)
new OdGePointOnCurve3d translateBy(OdGeVector3d translateVec)
OdGePointOnCurve3d(OdGePointOnCurve3d src)
new OdGePointOnCurve3d copy()
bool curvature(double param, out double res)
OdGePoint3d point(double param)
OdGePointOnCurve3d(OdGeCurve3d curve3d, double param)
new OdGePointOnCurve3d transformBy(OdGeMatrix3d xfm)
OdGePointOnCurve3d setCurve(OdGeCurve3d curve3d)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGePointOnCurve3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)