Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeCircArc2d.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
16public class OdGeCircArc2d : OdGeCurve2d {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeCircArc2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCircArc2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCircArc2d 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 OdGeCircArc2d() : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_0(), true) {
44 }
45
46 public OdGeCircArc2d(OdGeCircArc2d source) : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_1(OdGeCircArc2d.getCPtr(source)), true) {
48 }
49
50 public OdGeCircArc2d(OdGePoint2d center, double radius) : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_2(OdGePoint2d.getCPtr(center), radius), true) {
52 }
53
56 }
57
60 }
61
62 public OdGeCircArc2d(OdGePoint2d center, double radius, double startAng, double endAng) : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_5(OdGePoint2d.getCPtr(center), radius, startAng, endAng), true) {
64 }
65
68 }
69
70 public OdGeCircArc2d(OdGePoint2d startPoint, OdGePoint2d endPoint, double bulge, bool bulgeFlag) : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_7(OdGePoint2d.getCPtr(startPoint), OdGePoint2d.getCPtr(endPoint), bulge, bulgeFlag), true) {
72 }
73
74 public OdGeCircArc2d(OdGePoint2d startPoint, OdGePoint2d endPoint, double bulge) : this(GlobalsPINVOKE.new_OdGeCircArc2d__SWIG_8(OdGePoint2d.getCPtr(startPoint), OdGePoint2d.getCPtr(endPoint), bulge), true) {
76 }
77
78 public bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol) {
81 return ret;
82 }
83
84 public bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2) {
87 return ret;
88 }
89
90 public bool intersectWith(OdGeCircArc2d circarc, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol) {
93 return ret;
94 }
95
96 public bool intersectWith(OdGeCircArc2d circarc, out int numInt, OdGePoint2d p1, OdGePoint2d p2) {
99 return ret;
100 }
101
102 public bool tangent(OdGePoint2d point, OdGeLine2d line, OdGeTol tol) {
105 return ret;
106 }
107
108 public bool tangent(OdGePoint2d point, OdGeLine2d line) {
111 return ret;
112 }
113
114 public bool tangent(OdGePoint2d point, OdGeLine2d line, OdGeTol tol, out OdGe.ErrorCondition status) {
115 bool ret = GlobalsPINVOKE.OdGeCircArc2d_tangent__SWIG_2(swigCPtr, OdGePoint2d.getCPtr(point), OdGeLine2d.getCPtr(line), OdGeTol.getCPtr(tol), out status);
117 return ret;
118 }
119
120 public bool isInside(OdGePoint2d point, OdGeTol tol) {
123 return ret;
124 }
125
126 public bool isInside(OdGePoint2d point) {
129 return ret;
130 }
131
135 return ret;
136 }
137
138 public double radius() {
139 double ret = GlobalsPINVOKE.OdGeCircArc2d_radius(swigCPtr);
141 return ret;
142 }
143
144 public double startAng() {
145 double ret = GlobalsPINVOKE.OdGeCircArc2d_startAng(swigCPtr);
147 return ret;
148 }
149
150 public double endAng() {
151 double ret = GlobalsPINVOKE.OdGeCircArc2d_endAng(swigCPtr);
153 return ret;
154 }
155
156 public bool isClockWise() {
157 bool ret = GlobalsPINVOKE.OdGeCircArc2d_isClockWise(swigCPtr);
159 return ret;
160 }
161
165 return ret;
166 }
167
171 return ret;
172 }
173
177 return ret;
178 }
179
183 return ret;
184 }
185
189 return ret;
190 }
191
192 public OdGeCircArc2d setAngles(double startAng, double endAng) {
195 return ret;
196 }
197
201 return ret;
202 }
203
207 return ret;
208 }
209
213 return ret;
214 }
215
219 return ret;
220 }
221
225 return ret;
226 }
227
228 public OdGeCircArc2d set(OdGePoint2d center, double radius, double startAng, double endAng) {
231 return ret;
232 }
233
237 return ret;
238 }
239
243 return ret;
244 }
245
246 public OdGeCircArc2d set(OdGePoint2d startPoint, OdGePoint2d endPoint, double bulge, bool bulgeFlag) {
249 return ret;
250 }
251
255 return ret;
256 }
257
258 public OdGeCircArc2d set(OdGeCurve2d curve1, OdGeCurve2d curve2, double radius, out double param1, out double param2, out bool success) {
259 OdGeCircArc2d ret = new OdGeCircArc2d(GlobalsPINVOKE.OdGeCircArc2d_set__SWIG_8(swigCPtr, OdGeCurve2d.getCPtr(curve1), OdGeCurve2d.getCPtr(curve2), radius, out param1, out param2, out success), false);
261 return ret;
262 }
263
264 public OdGeCircArc2d set(OdGeCurve2d curve1, OdGeCurve2d curve2, OdGeCurve2d curve3, out double param1, out double param2, out double param3, out bool success) {
265 OdGeCircArc2d ret = new OdGeCircArc2d(GlobalsPINVOKE.OdGeCircArc2d_set__SWIG_9(swigCPtr, OdGeCurve2d.getCPtr(curve1), OdGeCurve2d.getCPtr(curve2), OdGeCurve2d.getCPtr(curve3), out param1, out param2, out param3, out success), false);
267 return ret;
268 }
269
273 return ret;
274 }
275
276 public void getGeomExtents(OdGeExtents2d extents) {
279 }
280
281 public double startAngFromXAxis() {
282 double ret = GlobalsPINVOKE.OdGeCircArc2d_startAngFromXAxis(swigCPtr);
284 return ret;
285 }
286
287 public double endAngFromXAxis() {
288 double ret = GlobalsPINVOKE.OdGeCircArc2d_endAngFromXAxis(swigCPtr);
290 return ret;
291 }
292
297 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
298
299}
300
301}
static global::System.Exception Retrieve()
static bool OdGeCircArc2d_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 double OdGeCircArc2d_startAngFromXAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, out OdGe.ErrorCondition jarg5)
static global::System.IntPtr OdGeCircArc2d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeCircArc2d_endAngFromXAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5, IntPtr jarg6, bool jarg7)
static bool OdGeCircArc2d_isInside__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc2d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCircArc2d_getGeomExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc2d_setToComplement(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCircArc2d_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 bool OdGeCircArc2d_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 OdGeCircArc2d_startAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_setRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGeCircArc2d_radius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_setCenter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5)
static double OdGeCircArc2d_endAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5, IntPtr jarg6)
static void delete_OdGeCircArc2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_4(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 global::System.IntPtr OdGeCircArc2d_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeCircArc2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc2d_refVec(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static bool OdGeCircArc2d_tangent__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, out double jarg5, out double jarg6, out double jarg7, out bool jarg8)
static bool OdGeCircArc2d_tangent__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, out OdGe.ErrorCondition jarg5)
static bool OdGeCircArc2d_tangent__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 global::System.IntPtr OdGeCircArc2d_setRefVec(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeCircArc2d_set__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, double jarg4, out double jarg5, out double jarg6, out bool jarg7)
static bool OdGeCircArc2d_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 global::System.IntPtr OdGeCircArc2d_set__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, bool jarg5)
static bool OdGeCircArc2d_isInside__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCircArc2d_isClockWise(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGeCircArc2d Assign(OdGeCircArc2d arc)
OdGeCircArc2d setRadius(double radius)
static HandleRef getCPtr(OdGeCircArc2d obj)
override void Dispose(bool disposing)
bool isInside(OdGePoint2d point, OdGeTol tol)
OdGeCircArc2d(OdGePoint2d startPoint, OdGePoint2d secondPoint, OdGePoint2d endPoint)
OdGeCircArc2d setRefVec(OdGeVector2d vect)
Teigha.Core.OdGe.EntityId vb_type()
bool tangent(OdGePoint2d point, OdGeLine2d line)
bool intersectWith(OdGeCircArc2d circarc, out int numInt, OdGePoint2d p1, OdGePoint2d p2)
bool tangent(OdGePoint2d point, OdGeLine2d line, OdGeTol tol)
bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2)
bool tangent(OdGePoint2d point, OdGeLine2d line, OdGeTol tol, out OdGe.ErrorCondition status)
OdGeCircArc2d(OdGePoint2d center, double radius, double startAng, double endAng, OdGeVector2d refVec, bool isClockWise)
OdGeCircArc2d setAngles(double startAng, double endAng)
OdGeCircArc2d(OdGePoint2d center, double radius, double startAng, double endAng)
OdGeCircArc2d(OdGePoint2d center, double radius, double startAng, double endAng, OdGeVector2d refVec)
bool intersectWith(OdGeLinearEnt2d line, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol)
OdGeCircArc2d(OdGePoint2d startPoint, OdGePoint2d endPoint, double bulge)
bool intersectWith(OdGeCircArc2d circarc, out int numInt, OdGePoint2d p1, OdGePoint2d p2, OdGeTol tol)
bool isInside(OdGePoint2d point)
OdGeCircArc2d setToComplement()
OdGeCircArc2d(OdGeCircArc2d source)
void getGeomExtents(OdGeExtents2d extents)
OdGeCircArc2d setCenter(OdGePoint2d center)
OdGeCircArc2d(OdGePoint2d center, double radius)
OdGeCircArc2d(OdGePoint2d startPoint, OdGePoint2d endPoint, double bulge, bool bulgeFlag)
OdGeCircArc2d(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGeCurve2d obj)
Definition: OdGeCurve2d.cs:25
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition: OdGeLine2d.cs:25
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