Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeEllipArc3d.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 OdGeEllipArc3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeEllipArc3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeEllipArc3d 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 OdGeEllipArc3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeEllipArc3d_copy(swigCPtr);
44 OdGeEllipArc3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeEllipArc3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeEllipArc3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeEllipArc3d ret = new OdGeEllipArc3d(GlobalsPINVOKE.OdGeEllipArc3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeEllipArc3d scaleBy(double scaleFactor) {
86 OdGeEllipArc3d ret = new OdGeEllipArc3d(GlobalsPINVOKE.OdGeEllipArc3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeEllipArc3d() : this(GlobalsPINVOKE.new_OdGeEllipArc3d__SWIG_0(), true) {
93 }
94
98
99 public OdGeEllipArc3d(OdGeCircArc3d source) : this(GlobalsPINVOKE.new_OdGeEllipArc3d__SWIG_2(OdGeCircArc3d.getCPtr(source)), true) {
101 }
102
106
110
116
122
128
134
140
146
147 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnEllipse1, OdGePoint3d pntOnEllipse2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2, OdGeTol tol) {
148 bool ret = GlobalsPINVOKE.OdGeEllipArc3d_projIntersectWith__SWIG_0(swigCPtr, OdGeLinearEnt3d.getCPtr(line), OdGeVector3d.getCPtr(projDir), out numInt, OdGePoint3d.getCPtr(pntOnEllipse1), OdGePoint3d.getCPtr(pntOnEllipse2), OdGePoint3d.getCPtr(pntOnLine1), OdGePoint3d.getCPtr(pntOnLine2), OdGeTol.getCPtr(tol));
150 return ret;
151 }
152
153 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnEllipse1, OdGePoint3d pntOnEllipse2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2) {
154 bool ret = GlobalsPINVOKE.OdGeEllipArc3d_projIntersectWith__SWIG_1(swigCPtr, OdGeLinearEnt3d.getCPtr(line), OdGeVector3d.getCPtr(projDir), out numInt, OdGePoint3d.getCPtr(pntOnEllipse1), OdGePoint3d.getCPtr(pntOnEllipse2), OdGePoint3d.getCPtr(pntOnLine1), OdGePoint3d.getCPtr(pntOnLine2));
156 return ret;
157 }
158
163
169
175
181
187
193
194 public double minorRadius() {
195 double ret = GlobalsPINVOKE.OdGeEllipArc3d_minorRadius(swigCPtr);
197 return ret;
198 }
199
200 public double majorRadius() {
201 double ret = GlobalsPINVOKE.OdGeEllipArc3d_majorRadius(swigCPtr);
203 return ret;
204 }
205
211
217
223
224 public double startAng() {
225 double ret = GlobalsPINVOKE.OdGeEllipArc3d_startAng(swigCPtr);
227 return ret;
228 }
229
230 public double endAng() {
231 double ret = GlobalsPINVOKE.OdGeEllipArc3d_endAng(swigCPtr);
233 return ret;
234 }
235
241
247
253
259
265
271
277
283
289
295
301
306
311
316
317 public OdGeVector3d tangentAt(double param) {
318 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGeEllipArc3d_tangentAt(swigCPtr, param), true);
320 return ret;
321 }
322
327
333
339
345
351
356 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
357
358}
359
360}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeEllipArc3d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, double jarg8)
static global::System.IntPtr OdGeEllipArc3d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipArc3d_endAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipArc3d_intersectWith__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeEllipArc3d_setCenter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_majorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeEllipArc3d_isCircular__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_joinWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_closestPointToPlane__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeEllipArc3d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdGeEllipArc3d_inverseTangent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc3d_tangentAt(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGeEllipArc3d_getGeomExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeEllipArc3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_setMinorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipArc3d_closestPointToPlane__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeEllipArc3d_orthogonalizeAxes__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out OdGe.ErrorCondition jarg3)
static global::System.IntPtr OdGeEllipArc3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_setMajorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeEllipArc3d_intersectWith__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool OdGeEllipArc3d_intersectWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static global::System.IntPtr OdGeEllipArc3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeEllipArc3d_inverseTangentPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeEllipArc3d_isCircular__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6)
static bool OdGeEllipArc3d_projIntersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static void OdGeEllipArc3d_orthogonalizeAxes__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_minorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeEllipArc3d_orthogonalizeAxes__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeEllipArc3d_minorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeEllipArc3d_isInside__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc3d_setAxes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc3d_joinWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeEllipArc3d_majorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipArc3d_projIntersectWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static global::System.IntPtr OdGeEllipArc3d_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeEllipArc3d_normal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeEllipArc3d_startAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipArc3d_isInside__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipArc3d_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeEllipArc3d_getPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeCircArc3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
OdGeVector3d tangentAt(double param)
OdGeEllipArc3d setMinorRadius(double rad)
OdResult inverseTangentPlane(OdGePlane refPlane, OdGeDoubleArray params_)
bool isInside(OdGePoint3d point, OdGeTol tol)
new OdGeEllipArc3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeEllipArc3d(OdGePoint3d center, OdGeVector3d majorAxis, OdGeVector3d minorAxis, double majorRadius, double minorRadius, double startAng, double endAng)
OdResult inverseTangent(OdGeVector3d tan, OdGeDoubleArray params_)
OdGeEllipArc3d(OdGePoint3d center, OdGeVector3d majorAxis, OdGeVector3d minorAxis, double majorRadius, double minorRadius)
new OdGeEllipArc3d scaleBy(double scaleFactor)
new OdGeEllipArc3d copy()
new OdGeEllipArc3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
bool isCircular(OdGeTol tol)
bool isInside(OdGePoint3d point)
void orthogonalizeAxes(OdGeTol tol)
bool intersectWith(OdGeLinearEnt3d line, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
OdGeEllipArc3d Assign(OdGeEllipArc3d ell)
static HandleRef getCPtr(OdGeEllipArc3d obj)
OdGeEllipArc3d setMajorRadius(double rad)
new OdGeEllipArc3d mirror(OdGePlane plane)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnEllipse1, OdGePoint3d pntOnEllipse2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2)
OdGeEllipArc3d joinWith(OdGeEllipArc3d curve, OdGeTol iTolerance)
OdGeEllipArc3d(IntPtr cPtr, bool cMemoryOwn)
OdGePoint3d closestPointToPlane(OdGePlanarEnt plane, OdGePoint3d pointOnPlane, OdGeTol tol)
OdGeEllipArc3d setAxes(OdGeVector3d majorAxis, OdGeVector3d minorAxis)
bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
new OdGeEllipArc3d rotateBy(double angle, OdGeVector3d vect)
bool intersectWith(OdGeLinearEnt3d line, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnEllipse1, OdGePoint3d pntOnEllipse2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2, OdGeTol tol)
OdGePoint3d closestPointToPlane(OdGePlanarEnt plane, OdGePoint3d pointOnPlane)
new OdGeEllipArc3d translateBy(OdGeVector3d translateVec)
OdGeEllipArc3d(OdGeCircArc3d source)
void orthogonalizeAxes(OdGeTol tol, out OdGe.ErrorCondition flag)
Teigha.Core.OdGe.EntityId vb_type()
void getPlane(OdGePlane plane)
bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
OdGeEllipArc3d setCenter(OdGePoint3d center)
OdGeEllipArc3d setAngles(double startAng, double endAng)
override void Dispose(bool disposing)
OdGeEllipArc3d(OdGeEllipArc3d ell)
OdGeEllipArc3d joinWith(OdGeEllipArc3d curve)
new OdGeEllipArc3d transformBy(OdGeMatrix3d xfm)
void getGeomExtents(OdGeExtents3d extents)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeLinearEnt3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlanarEnt obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)