Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeEllipArc2d.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 OdGeEllipArc2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeEllipArc2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeEllipArc2d 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 OdGeEllipArc2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeEllipArc2d_copy(swigCPtr);
44 OdGeEllipArc2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeEllipArc2d(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeEllipArc2d rotateBy(double angle, OdGePoint2d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeEllipArc2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
80 OdGeEllipArc2d ret = new OdGeEllipArc2d(GlobalsPINVOKE.OdGeEllipArc2d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint2d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeEllipArc2d scaleBy(double scaleFactor) {
86 OdGeEllipArc2d ret = new OdGeEllipArc2d(GlobalsPINVOKE.OdGeEllipArc2d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeEllipArc2d() : this(GlobalsPINVOKE.new_OdGeEllipArc2d__SWIG_0(), true) {
93 }
94
98
102
106
110
116
122
128
134
140
146
152
153 public double minorRadius() {
154 double ret = GlobalsPINVOKE.OdGeEllipArc2d_minorRadius(swigCPtr);
156 return ret;
157 }
158
159 public double majorRadius() {
160 double ret = GlobalsPINVOKE.OdGeEllipArc2d_majorRadius(swigCPtr);
162 return ret;
163 }
164
170
176
177 public double startAng() {
178 double ret = GlobalsPINVOKE.OdGeEllipArc2d_startAng(swigCPtr);
180 return ret;
181 }
182
183 public double endAng() {
184 double ret = GlobalsPINVOKE.OdGeEllipArc2d_endAng(swigCPtr);
186 return ret;
187 }
188
194
200
201 public bool isClockWise() {
202 bool ret = GlobalsPINVOKE.OdGeEllipArc2d_isClockWise(swigCPtr);
204 return ret;
205 }
206
212
218
224
230
236
242
248
254
260
265
270
275 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
276
277}
278
279}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeEllipArc2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static bool OdGeEllipArc2d_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 bool OdGeEllipArc2d_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 OdGeEllipArc2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, double jarg5, double jarg6)
static global::System.IntPtr OdGeEllipArc2d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipArc2d_endAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_majorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_setCenter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc2d_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeEllipArc2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, double jarg5, double jarg6, double jarg7, double jarg8)
static bool OdGeEllipArc2d_isInside__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEllipArc2d_isCircular__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeEllipArc2d_inverseTangent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc2d_setMinorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipArc2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeEllipArc2d_minorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc2d_setAxes(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3)
static global::System.IntPtr OdGeEllipArc2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeEllipArc2d_majorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_setMajorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeEllipArc2d_isCircular__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeEllipArc2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeEllipArc2d_getGeomExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipArc2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipArc2d_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEllipArc2d_isClockWise(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipArc2d_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 OdGeEllipArc2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGeEllipArc2d_startAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipArc2d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipArc2d_minorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeCircArc2d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
OdGeEllipArc2d(IntPtr cPtr, bool cMemoryOwn)
bool isInside(OdGePoint2d point)
new OdGeEllipArc2d transformBy(OdGeMatrix2d xfm)
OdGeEllipArc2d setAxes(OdGeVector2d majorAxis, OdGeVector2d minorAxis)
Teigha.Core.OdGe.EntityId vb_type()
OdGeEllipArc2d(OdGePoint2d center, OdGeVector2d majorAxis, OdGeVector2d minorAxis, double majorRadius, double minorRadius)
static HandleRef getCPtr(OdGeEllipArc2d obj)
new OdGeEllipArc2d copy()
OdGeEllipArc2d setCenter(OdGePoint2d center)
OdGeEllipArc2d Assign(OdGeEllipArc2d ell)
OdGeEllipArc2d(OdGeCircArc2d arc)
void inverseTangent(OdGeVector2d tan, OdGeDoubleArray params_)
OdGeEllipArc2d setMinorRadius(double rad)
bool isInside(OdGePoint2d point, OdGeTol tol)
new OdGeEllipArc2d rotateBy(double angle, OdGePoint2d basePoint)
new OdGeEllipArc2d mirror(OdGeLine2d line)
new OdGeEllipArc2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
bool isCircular(OdGeTol tol)
override void Dispose(bool disposing)
bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol)
OdGeEllipArc2d setMajorRadius(double rad)
new OdGeEllipArc2d translateBy(OdGeVector2d translateVec)
OdGeEllipArc2d setAngles(double startAng, double endAng)
void getGeomExtents(OdGeExtents2d extents)
OdGeEllipArc2d(OdGePoint2d center, OdGeVector2d majorAxis, OdGeVector2d minorAxis, double majorRadius, double minorRadius, double startAng, double endAng)
new OdGeEllipArc2d rotateBy(double angle)
bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2)
new OdGeEllipArc2d scaleBy(double scaleFactor)
OdGeEllipArc2d(OdGeEllipArc2d ell)
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeLinearEnt2d obj)
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)