Extended .NET SDK Documentation 2024 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 OdGePointOnCurve2d() : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_0(), true) {
44 }
45
46 public OdGePointOnCurve2d(OdGeCurve2d curve2d, double param) : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_1(OdGeCurve2d.getCPtr(curve2d), param), true) {
48 }
49
50 public OdGePointOnCurve2d(OdGeCurve2d curve2d) : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_2(OdGeCurve2d.getCPtr(curve2d)), true) {
52 }
53
54 public OdGePointOnCurve2d(OdGePointOnCurve2d source) : this(GlobalsPINVOKE.new_OdGePointOnCurve2d__SWIG_3(OdGePointOnCurve2d.getCPtr(source)), true) {
56 }
57
61 return ret;
62 }
63
64 public OdGeCurve2d curve() {
65 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGePointOnCurve2d_curve(swigCPtr), false);
66
68 return ret;
69}
70
71 public double parameter() {
72 double ret = GlobalsPINVOKE.OdGePointOnCurve2d_parameter(swigCPtr);
74 return ret;
75 }
76
77 public OdGePoint2d point() {
80 return ret;
81 }
82
83 public OdGePoint2d point(double param) {
86 return ret;
87 }
88
89 public OdGePoint2d point(OdGeCurve2d curve2d, double param) {
92 return ret;
93 }
94
95 public OdGeVector2d deriv(int order) {
98 return ret;
99 }
100
101 public OdGeVector2d deriv(int order, double param) {
102 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.OdGePointOnCurve2d_deriv__SWIG_1(swigCPtr, order, param), true);
104 return ret;
105 }
106
107 public OdGeVector2d deriv(int order, OdGeCurve2d curve2d, double param) {
108 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.OdGePointOnCurve2d_deriv__SWIG_2(swigCPtr, order, OdGeCurve2d.getCPtr(curve2d), param), true);
110 return ret;
111 }
112
113 public bool isSingular(OdGeTol tol) {
116 return ret;
117 }
118
119 public bool isSingular() {
122 return ret;
123 }
124
125 public bool curvature(out double res) {
126 bool ret = GlobalsPINVOKE.OdGePointOnCurve2d_curvature__SWIG_0(swigCPtr, out res);
128 return ret;
129 }
130
131 public bool curvature(double param, out double res) {
132 bool ret = GlobalsPINVOKE.OdGePointOnCurve2d_curvature__SWIG_1(swigCPtr, param, out res);
134 return ret;
135 }
136
140 return ret;
141 }
142
143 public OdGePointOnCurve2d setParameter(double param) {
146 return ret;
147 }
148
153 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
154
155}
156
157}
static global::System.Exception Retrieve()
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 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 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_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)
Definition: OdGeCurve2d.cs:25
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
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)
OdGeVector2d deriv(int order)
OdGePointOnCurve2d setCurve(OdGeCurve2d curve2d)
OdGePointOnCurve2d(OdGePointOnCurve2d source)
OdGePointOnCurve2d setParameter(double param)
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)
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26