Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGePolyline3d.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 OdGePolyline3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGePolyline3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGePolyline3d 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 OdGePolyline3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePolyline3d_copy(swigCPtr);
44 OdGePolyline3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePolyline3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGePolyline3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGePolyline3d ret = new OdGePolyline3d(GlobalsPINVOKE.OdGePolyline3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGePolyline3d scaleBy(double scaleFactor) {
86 OdGePolyline3d ret = new OdGePolyline3d(GlobalsPINVOKE.OdGePolyline3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGePolyline3d() : this(GlobalsPINVOKE.new_OdGePolyline3d__SWIG_0(), true) {
93 }
94
95 public OdGePolyline3d(OdGePolyline3d source) : this(GlobalsPINVOKE.new_OdGePolyline3d__SWIG_1(OdGePolyline3d.getCPtr(source)), true) {
97 }
98
99 public OdGePolyline3d(OdGePoint3dArray points) : this(GlobalsPINVOKE.new_OdGePolyline3d__SWIG_2(OdGePoint3dArray.getCPtr(points)), true) {
101 }
102
106
107 public OdGePolyline3d(OdGeCurve3d crv, double approxEps) : this(GlobalsPINVOKE.new_OdGePolyline3d__SWIG_4(OdGeCurve3d.getCPtr(crv), approxEps), true) {
109 }
110
111 public OdGePolyline3d(Int32 numPoints, OdGePoint3d pPoints) : this(GlobalsPINVOKE.new_OdGePolyline3d__SWIG_5(numPoints /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pPoints)), true) {
113 }
114
120
121 public OdGePoint3d fitPointAt(int fitPointIndex) {
122 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGePolyline3d_fitPointAt(swigCPtr, fitPointIndex), true);
124 return ret;
125 }
126
132
138
139 public OdGePoint3d evalPointSeg(double param, out int numSeg) {
140 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGePolyline3d_evalPointSeg(swigCPtr, param, out numSeg), true);
142 return ret;
143 }
144
149 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
150
155 public int vb_order() { return this.order(); }
156
157}
158
159}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGePolyline3d_fitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGePolyline3d_setFitPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGePolyline3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGePolyline3d_numFitPoints(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePolyline3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGePolyline3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePolyline3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGePolyline3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePolyline3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGePolyline3d_evalPointSeg(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, out int jarg3)
static global::System.IntPtr OdGePolyline3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePolyline3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePolyline3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePolyline3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
new OdGePolyline3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGePolyline3d(OdGeCurve3d crv, double approxEps)
OdGePolyline3d(OdGeKnotVector knots, OdGePoint3dArray controlPoints)
static HandleRef getCPtr(OdGePolyline3d obj)
new OdGePolyline3d translateBy(OdGeVector3d translateVec)
OdGePoint3d fitPointAt(int fitPointIndex)
new OdGePolyline3d copy()
override void Dispose(bool disposing)
OdGeSplineEnt3d setFitPointAt(int index, OdGePoint3d point)
new OdGePolyline3d scaleBy(double scaleFactor)
OdGePolyline3d(OdGePolyline3d source)
OdGePolyline3d Assign(OdGePolyline3d polyline)
OdGePolyline3d(OdGePoint3dArray points)
Teigha.Core.OdGe.EntityId vb_type()
OdGePolyline3d(IntPtr cPtr, bool cMemoryOwn)
OdGePolyline3d(Int32 numPoints, OdGePoint3d pPoints)
OdGePoint3d evalPointSeg(double param, out int numSeg)
new OdGePolyline3d mirror(OdGePlane plane)
new OdGePolyline3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
new OdGePolyline3d rotateBy(double angle, OdGeVector3d vect)
new OdGePolyline3d transformBy(OdGeMatrix3d xfm)
OdGeSplineEnt3d(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGeVector3d obj)