Extended .NET SDK Documentation 2024 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 OdGeEllipArc2d() : this(GlobalsPINVOKE.new_OdGeEllipArc2d__SWIG_0(), true) {
44 }
45
46 public OdGeEllipArc2d(OdGeEllipArc2d ell) : this(GlobalsPINVOKE.new_OdGeEllipArc2d__SWIG_1(OdGeEllipArc2d.getCPtr(ell)), true) {
48 }
49
50 public OdGeEllipArc2d(OdGeCircArc2d arc) : this(GlobalsPINVOKE.new_OdGeEllipArc2d__SWIG_2(OdGeCircArc2d.getCPtr(arc)), true) {
52 }
53
56 }
57
60 }
61
62 public bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol) {
65 return ret;
66 }
67
68 public bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2) {
71 return ret;
72 }
73
74 public bool isCircular(OdGeTol tol) {
77 return ret;
78 }
79
80 public bool isCircular() {
83 return ret;
84 }
85
86 public bool isInside(OdGePoint2d point, OdGeTol tol) {
89 return ret;
90 }
91
92 public bool isInside(OdGePoint2d point) {
95 return ret;
96 }
97
101 return ret;
102 }
103
104 public double minorRadius() {
105 double ret = GlobalsPINVOKE.OdGeEllipArc2d_minorRadius(swigCPtr);
107 return ret;
108 }
109
110 public double majorRadius() {
111 double ret = GlobalsPINVOKE.OdGeEllipArc2d_majorRadius(swigCPtr);
113 return ret;
114 }
115
119 return ret;
120 }
121
125 return ret;
126 }
127
128 public double startAng() {
129 double ret = GlobalsPINVOKE.OdGeEllipArc2d_startAng(swigCPtr);
131 return ret;
132 }
133
134 public double endAng() {
135 double ret = GlobalsPINVOKE.OdGeEllipArc2d_endAng(swigCPtr);
137 return ret;
138 }
139
143 return ret;
144 }
145
149 return ret;
150 }
151
152 public bool isClockWise() {
153 bool ret = GlobalsPINVOKE.OdGeEllipArc2d_isClockWise(swigCPtr);
155 return ret;
156 }
157
161 return ret;
162 }
163
164 public OdGeEllipArc2d setMinorRadius(double rad) {
167 return ret;
168 }
169
170 public OdGeEllipArc2d setMajorRadius(double rad) {
173 return ret;
174 }
175
179 return ret;
180 }
181
182 public OdGeEllipArc2d setAngles(double startAng, double endAng) {
185 return ret;
186 }
187
191 return ret;
192 }
193
197 return ret;
198 }
199
203 return ret;
204 }
205
209 return ret;
210 }
211
212 public void getGeomExtents(OdGeExtents2d extents) {
215 }
216
217 public void inverseTangent(OdGeVector2d tan, OdGeDoubleArray params_) {
220 }
221
226 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
227
228}
229
230}
static global::System.Exception Retrieve()
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_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 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 double OdGeEllipArc2d_majorRadius(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_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 double OdGeEllipArc2d_startAng(global::System.Runtime.InteropServices.HandleRef jarg1)
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)
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)
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)
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)
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)
bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2)
OdGeEllipArc2d(OdGeEllipArc2d ell)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeLinearEnt2d obj)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26