Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGePointOnCurve2d.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 OdGePointOnCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGePointOnCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGePointOnCurve2d 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 OdGePointOnCurve2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePointOnCurve2d_copy(swigCPtr);
44 OdGePointOnCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePointOnCurve2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGePointOnCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
82 return ret;
83 }
84
90
91 public OdGePointOnCurve2d() : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_0(), true) {
93 }
94
95 public OdGePointOnCurve2d(OdGeCurve2d curve2d, double param) : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_1(OdGeCurve2d.getCPtr(curve2d), param), true) {
97 }
98
99 public OdGePointOnCurve2d(OdGeCurve2d curve2d) : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_2(OdGeCurve2d.getCPtr(curve2d)), true) {
101 }
102
106
112
113 public OdGeCurve2d curve() {
114 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGePointOnCurve2d_curve(swigCPtr), false);
115
117 return ret;
118}
119
120 public double parameter() {
121 double ret = GlobalsPINVOKE.OdGePointOnCurve2d_parameter(swigCPtr);
123 return ret;
124 }
125
131
132 public OdGePoint2d point(double param) {
135 return ret;
136 }
137
138 public OdGePoint2d point(OdGeCurve2d curve2d, double param) {
141 return ret;
142 }
143
149
150 public OdGeVector2d deriv(int order, double param) {
151 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.OdGePointOnCurve2d_deriv__SWIG_1(swigCPtr, order, param), true);
153 return ret;
154 }
155
156 public OdGeVector2d deriv(int order, OdGeCurve2d curve2d, double param) {
157 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.OdGePointOnCurve2d_deriv__SWIG_2(swigCPtr, order, OdGeCurve2d.getCPtr(curve2d), param), true);
159 return ret;
160 }
161
167
173
174 public bool curvature(out double res) {
175 bool ret = GlobalsPINVOKE.OdGePointOnCurve2d_curvature__SWIG_0(swigCPtr, out res);
177 return ret;
178 }
179
180 public bool curvature(double param, out double res) {
181 bool ret = GlobalsPINVOKE.OdGePointOnCurve2d_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 OdGePointOnCurve2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePointOnCurve2d_point__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGePointOnCurve2d_isSingular__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGePointOnCurve2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve2d_point__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve2d_setCurve(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePointOnCurve2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGePointOnCurve2d_curvature__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, out double jarg3)
static bool OdGePointOnCurve2d_curvature__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static double OdGePointOnCurve2d_parameter(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePointOnCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve2d_setParameter(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePointOnCurve2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGePointOnCurve2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGePointOnCurve2d_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGePointOnCurve2d_isSingular__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePointOnCurve2d_point__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGePointOnCurve2d_deriv__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
static global::System.IntPtr OdGePointOnCurve2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGePointOnCurve2d_deriv__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, HandleRef jarg3, double jarg4)
static global::System.IntPtr OdGePointOnCurve2d_deriv__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static HandleRef getCPtr(OdGeCurve2d obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2d obj)
new OdGePointOnCurve2d translateBy(OdGeVector2d translateVec)
OdGePoint2d point(double param)
override void Dispose(bool disposing)
OdGePointOnCurve2d Assign(OdGePointOnCurve2d pntOnCurve)
OdGePointOnCurve2d(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGe.EntityId vb_type()
bool curvature(double param, out double res)
OdGePointOnCurve2d setCurve(OdGeCurve2d curve2d)
new OdGePointOnCurve2d transformBy(OdGeMatrix2d xfm)
new OdGePointOnCurve2d copy()
OdGePointOnCurve2d(OdGePointOnCurve2d source)
new OdGePointOnCurve2d scaleBy(double scaleFactor)
OdGePointOnCurve2d setParameter(double param)
new OdGePointOnCurve2d rotateBy(double angle)
new OdGePointOnCurve2d mirror(OdGeLine2d line)
new OdGePointOnCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
OdGePoint2d point(OdGeCurve2d curve2d, double param)
OdGePointOnCurve2d(OdGeCurve2d curve2d, double param)
OdGeVector2d deriv(int order, OdGeCurve2d curve2d, double param)
OdGePointOnCurve2d(OdGeCurve2d curve2d)
OdGeVector2d deriv(int order, double param)
static HandleRef getCPtr(OdGePointOnCurve2d obj)
new OdGePointOnCurve2d rotateBy(double angle, OdGePoint2d basePoint)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)