Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeAugPolyline3d.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 OdGeAugPolyline3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeAugPolyline3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeAugPolyline3d 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 OdGeAugPolyline3d() : this(GlobalsPINVOKE.new_OdGeAugPolyline3d__SWIG_0(), true) {
44 }
45
46 public OdGeAugPolyline3d(OdGeAugPolyline3d apline) : this(GlobalsPINVOKE.new_OdGeAugPolyline3d__SWIG_1(OdGeAugPolyline3d.getCPtr(apline)), true) {
48 }
49
50 public OdGeAugPolyline3d(OdGeKnotVector knots, OdGePoint3dArray controlPoints, OdGeVector3dArray vecBundle) : this(GlobalsPINVOKE.new_OdGeAugPolyline3d__SWIG_2(OdGeKnotVector.getCPtr(knots), OdGePoint3dArray.getCPtr(controlPoints), OdGeVector3dArray.getCPtr(vecBundle)), true) {
52 }
53
54 public OdGeAugPolyline3d(OdGePoint3dArray controlPoints, OdGeVector3dArray vecBundle) : this(GlobalsPINVOKE.new_OdGeAugPolyline3d__SWIG_3(OdGePoint3dArray.getCPtr(controlPoints), OdGeVector3dArray.getCPtr(vecBundle)), true) {
56 }
57
58 public OdGeAugPolyline3d(OdGeCurve3d curve, double fromParam, double toParam, double approxEps) : this(GlobalsPINVOKE.new_OdGeAugPolyline3d__SWIG_4(OdGeCurve3d.getCPtr(curve), fromParam, toParam, approxEps), true) {
60 }
61
65 return ret;
66 }
67
68 public OdGePoint3d getPoint(int index) {
69 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeAugPolyline3d_getPoint(swigCPtr, index), true);
71 return ret;
72 }
73
74 public OdGeAugPolyline3d setPoint(int controlpointIndex, OdGePoint3d point) {
75 OdGeAugPolyline3d ret = new OdGeAugPolyline3d(GlobalsPINVOKE.OdGeAugPolyline3d_setPoint(swigCPtr, controlpointIndex, OdGePoint3d.getCPtr(point)), false);
77 return ret;
78 }
79
80 public void getPoints(OdGePoint3dArray controlPoints) {
83 }
84
85 public OdGeVector3d getVector(int vectorIndex) {
86 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGeAugPolyline3d_getVector(swigCPtr, vectorIndex), true);
88 return ret;
89 }
90
91 public OdGeAugPolyline3d setVector(int vectorIndex, OdGeVector3d vect) {
94 return ret;
95 }
96
97 public void getD1Vectors(OdGeVector3dArray tangents) {
100 }
101
102 public OdGeVector3d getD2Vector(int vectorIndex) {
103 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGeAugPolyline3d_getD2Vector(swigCPtr, vectorIndex), true);
105 return ret;
106 }
107
108 public OdGeAugPolyline3d setD2Vector(int vectorIndex, OdGeVector3d vect) {
111 return ret;
112 }
113
114 public void getD2Vectors(OdGeVector3dArray d2Vectors) {
117 }
118
119 public double approxTol() {
120 double ret = GlobalsPINVOKE.OdGeAugPolyline3d_approxTol(swigCPtr);
122 return ret;
123 }
124
128 return ret;
129 }
130
135 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
136
141 public int vb_order() { return this.order(); }
142
143}
144
145}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeAugPolyline3d_getVector(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeAugPolyline3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeAugPolyline3d_setApproxTol(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeAugPolyline3d_setPoint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeAugPolyline3d_getPoints(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeAugPolyline3d_approxTol(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeAugPolyline3d_getD2Vectors(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeAugPolyline3d_getD1Vectors(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeAugPolyline3d_setVector(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeAugPolyline3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeAugPolyline3d_getD2Vector(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeAugPolyline3d_getPoint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeAugPolyline3d_setD2Vector(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
OdGeAugPolyline3d(OdGeCurve3d curve, double fromParam, double toParam, double approxEps)
void getD1Vectors(OdGeVector3dArray tangents)
OdGeAugPolyline3d(OdGePoint3dArray controlPoints, OdGeVector3dArray vecBundle)
OdGeAugPolyline3d setVector(int vectorIndex, OdGeVector3d vect)
void getPoints(OdGePoint3dArray controlPoints)
OdGeAugPolyline3d setPoint(int controlpointIndex, OdGePoint3d point)
OdGeAugPolyline3d(IntPtr cPtr, bool cMemoryOwn)
OdGeVector3d getVector(int vectorIndex)
OdGeAugPolyline3d setD2Vector(int vectorIndex, OdGeVector3d vect)
OdGeAugPolyline3d Assign(OdGeAugPolyline3d apline)
override void Dispose(bool disposing)
OdGeVector3d getD2Vector(int vectorIndex)
static HandleRef getCPtr(OdGeAugPolyline3d obj)
OdGeAugPolyline3d(OdGeKnotVector knots, OdGePoint3dArray controlPoints, OdGeVector3dArray vecBundle)
Teigha.Core.OdGe.EntityId vb_type()
OdGePoint3d getPoint(int index)
OdGeAugPolyline3d setApproxTol(double approxTol)
void getD2Vectors(OdGeVector3dArray d2Vectors)
OdGeAugPolyline3d(OdGeAugPolyline3d apline)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26