Extended .NET SDK Documentation 2024 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 OdGePointOnCurve3d() : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_0(), true) {
44 }
45
46 public OdGePointOnCurve3d(OdGeCurve3d curve3d) : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_1(OdGeCurve3d.getCPtr(curve3d)), true) {
48 }
49
50 public OdGePointOnCurve3d(OdGeCurve3d curve3d, double param) : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_2(OdGeCurve3d.getCPtr(curve3d), param), true) {
52 }
53
54 public OdGePointOnCurve3d(OdGePointOnCurve3d src) : this(GlobalsPINVOKE.new_OdGePointOnCurve3d__SWIG_3(OdGePointOnCurve3d.getCPtr(src)), true) {
56 }
57
61 return ret;
62 }
63
64 public OdGeCurve3d curve() {
65 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGePointOnCurve3d_curve(swigCPtr), false);
66
68 return ret;
69}
70
71 public double parameter() {
72 double ret = GlobalsPINVOKE.OdGePointOnCurve3d_parameter(swigCPtr);
74 return ret;
75 }
76
77 public OdGePoint3d point() {
80 return ret;
81 }
82
83 public OdGePoint3d point(double param) {
86 return ret;
87 }
88
89 public OdGePoint3d point(OdGeCurve3d curve3d, double param) {
92 return ret;
93 }
94
95 public OdGeVector3d deriv(int order) {
98 return ret;
99 }
100
101 public OdGeVector3d deriv(int order, double param) {
102 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGePointOnCurve3d_deriv__SWIG_1(swigCPtr, order, param), true);
104 return ret;
105 }
106
107 public OdGeVector3d deriv(int order, OdGeCurve3d curve3d, double param) {
108 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGePointOnCurve3d_deriv__SWIG_2(swigCPtr, order, OdGeCurve3d.getCPtr(curve3d), 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.OdGePointOnCurve3d_curvature__SWIG_0(swigCPtr, out res);
128 return ret;
129 }
130
131 public bool curvature(double param, out double res) {
132 bool ret = GlobalsPINVOKE.OdGePointOnCurve3d_curvature__SWIG_1(swigCPtr, param, out res);
134 return ret;
135 }
136
140 return ret;
141 }
142
143 public OdGePointOnCurve3d 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 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 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 bool OdGePointOnCurve3d_isSingular__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
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 double OdGePointOnCurve3d_parameter(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGePointOnCurve3d(global::System.Runtime.InteropServices.HandleRef jarg1)
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_point__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static HandleRef getCPtr(OdGeCurve3d obj)
Definition: OdGeCurve3d.cs:25
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
OdGeVector3d deriv(int order, double param)
OdGePoint3d point(OdGeCurve3d curve3d, double param)
OdGePointOnCurve3d setParameter(double param)
OdGePointOnCurve3d Assign(OdGePointOnCurve3d src)
OdGeVector3d deriv(int order, OdGeCurve3d curve3d, double param)
Teigha.Core.OdGe.EntityId vb_type()
OdGePointOnCurve3d(OdGeCurve3d curve3d)
OdGePointOnCurve3d(IntPtr cPtr, bool cMemoryOwn)
OdGePointOnCurve3d(OdGePointOnCurve3d src)
bool curvature(double param, out double res)
OdGePoint3d point(double param)
OdGePointOnCurve3d(OdGeCurve3d curve3d, double param)
OdGeVector3d deriv(int order)
OdGePointOnCurve3d setCurve(OdGeCurve3d curve3d)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGePointOnCurve3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26