Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeCircArc3d.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 OdGeCircArc3d : OdGeCurve3d {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeCircArc3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCircArc3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCircArc3d 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 OdGeCircArc3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeCircArc3d_copy(swigCPtr);
44 OdGeCircArc3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeCircArc3d(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeCircArc3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeCircArc3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeCircArc3d ret = new OdGeCircArc3d(GlobalsPINVOKE.OdGeCircArc3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeCircArc3d scaleBy(double scaleFactor) {
86 OdGeCircArc3d ret = new OdGeCircArc3d(GlobalsPINVOKE.OdGeCircArc3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeCircArc3d() : this(GlobalsPINVOKE.new_OdGeCircArc3d__SWIG_0(), true) {
93 }
94
95 public OdGeCircArc3d(OdGeCircArc3d source) : this(GlobalsPINVOKE.new_OdGeCircArc3d__SWIG_1(OdGeCircArc3d.getCPtr(source)), true) {
97 }
98
102
106
110
114
118
124
130
136
142
148
154
155 public bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
158 return ret;
159 }
160
161 public bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
164 return ret;
165 }
166
167 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnArc1, OdGePoint3d pntOnArc2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2, OdGeTol tol) {
168 bool ret = GlobalsPINVOKE.OdGeCircArc3d_projIntersectWith__SWIG_0(swigCPtr, OdGeLinearEnt3d.getCPtr(line), OdGeVector3d.getCPtr(projDir), out numInt, OdGePoint3d.getCPtr(pntOnArc1), OdGePoint3d.getCPtr(pntOnArc2), OdGePoint3d.getCPtr(pntOnLine1), OdGePoint3d.getCPtr(pntOnLine2), OdGeTol.getCPtr(tol));
170 return ret;
171 }
172
173 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnArc1, OdGePoint3d pntOnArc2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2) {
174 bool ret = GlobalsPINVOKE.OdGeCircArc3d_projIntersectWith__SWIG_1(swigCPtr, OdGeLinearEnt3d.getCPtr(line), OdGeVector3d.getCPtr(projDir), out numInt, OdGePoint3d.getCPtr(pntOnArc1), OdGePoint3d.getCPtr(pntOnArc2), OdGePoint3d.getCPtr(pntOnLine1), OdGePoint3d.getCPtr(pntOnLine2));
176 return ret;
177 }
178
184
190
191 public bool tangent(OdGePoint3d point, OdGeLine3d line, OdGeTol tol, out OdGe.ErrorCondition status) {
192 bool ret = GlobalsPINVOKE.OdGeCircArc3d_tangent__SWIG_2(swigCPtr, OdGePoint3d.getCPtr(point), OdGeLine3d.getCPtr(line), OdGeTol.getCPtr(tol), out status);
194 return ret;
195 }
196
201
207
213
219
225
231
232 public double radius() {
233 double ret = GlobalsPINVOKE.OdGeCircArc3d_radius(swigCPtr);
235 return ret;
236 }
237
238 public double startAng() {
239 double ret = GlobalsPINVOKE.OdGeCircArc3d_startAng(swigCPtr);
241 return ret;
242 }
243
244 public double endAng() {
245 double ret = GlobalsPINVOKE.OdGeCircArc3d_endAng(swigCPtr);
247 return ret;
248 }
249
255
261
267
273
279
285
291
297
303
309
310 public OdGeCircArc3d set(OdGeCurve3d curve1, OdGeCurve3d curve2, double radius, out double param1, out double param2, out bool success) {
311 OdGeCircArc3d ret = new OdGeCircArc3d(GlobalsPINVOKE.OdGeCircArc3d_set__SWIG_4(swigCPtr, OdGeCurve3d.getCPtr(curve1), OdGeCurve3d.getCPtr(curve2), radius, out param1, out param2, out success), false);
313 return ret;
314 }
315
316 public OdGeCircArc3d set(OdGeCurve3d curve1, OdGeCurve3d curve2, OdGeCurve3d curve3, out double param1, out double param2, out double param3, out bool success) {
317 OdGeCircArc3d ret = new OdGeCircArc3d(GlobalsPINVOKE.OdGeCircArc3d_set__SWIG_5(swigCPtr, OdGeCurve3d.getCPtr(curve1), OdGeCurve3d.getCPtr(curve2), OdGeCurve3d.getCPtr(curve3), out param1, out param2, out param3, out success), false);
319 return ret;
320 }
321
327
332
338
344
349 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
350
351}
352
353}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCircArc3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCircArc3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc3d_normal(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCircArc3d_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 OdGeCircArc3d_setCenter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc3d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCircArc3d_set__SWIG_3(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 void delete_OdGeCircArc3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_set__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)
static bool OdGeCircArc3d_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 OdGeCircArc3d_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 global::System.IntPtr OdGeCircArc3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeCircArc3d_startAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCircArc3d_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 OdGeCircArc3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCircArc3d_getPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCircArc3d_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 OdGeCircArc3d_setAxes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCircArc3d_isInside__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCircArc3d_endAng(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_setRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCircArc3d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCircArc3d_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 OdGeCircArc3d_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 global::System.IntPtr OdGeCircArc3d_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)
static global::System.IntPtr OdGeCircArc3d_joinWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCircArc3d_refVec(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static global::System.IntPtr OdGeCircArc3d_joinWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCircArc3d_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 OdGeCircArc3d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeCircArc3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCircArc3d_radius(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCircArc3d_set__SWIG_5(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 global::System.IntPtr OdGeCircArc3d_set__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, double jarg4, out double jarg5, out double jarg6, out bool jarg7)
static bool OdGeCircArc3d_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 OdGeCircArc3d_closestPointToPlane__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCircArc3d_intersectWith__SWIG_4(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 OdGeCircArc3d_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 OdGeCircArc3d_getGeomExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCircArc3d_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 OdGeCircArc3d_intersectWith__SWIG_5(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 OdGeCircArc3d_isInside__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool isInside(OdGePoint3d point)
OdGeCircArc3d(OdGePoint3d startPoint, OdGePoint3d secondPoint, OdGePoint3d endPoint)
bool intersectWith(OdGeCircArc3d arc, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
OdGeCircArc3d(OdGePoint3d center, OdGeVector3d normal, OdGeVector3d refVec, double radius, double startAng)
bool intersectWith(OdGeLinearEnt3d line, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
OdGeCircArc3d joinWith(OdGeCircArc3d curve)
new OdGeCircArc3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
void getGeomExtents(OdGeExtents3d extents)
bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
bool tangent(OdGePoint3d point, OdGeLine3d line)
OdGeCircArc3d(OdGePoint3d center, OdGeVector3d normal, double radius)
OdGeCircArc3d(OdGePoint3d center, OdGeVector3d normal, OdGeVector3d refVec, double radius, double startAng, double endAng)
static HandleRef getCPtr(OdGeCircArc3d obj)
OdGeCircArc3d(IntPtr cPtr, bool cMemoryOwn)
bool intersectWith(OdGeLinearEnt3d line, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
new OdGeCircArc3d rotateBy(double angle, OdGeVector3d vect)
new OdGeCircArc3d transformBy(OdGeMatrix3d xfm)
new OdGeCircArc3d scaleBy(double scaleFactor)
override void Dispose(bool disposing)
bool intersectWith(OdGeCircArc3d arc, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
void getPlane(OdGePlane plane)
OdGePoint3d closestPointToPlane(OdGePlanarEnt plane, OdGePoint3d pointOnPlane)
bool tangent(OdGePoint3d point, OdGeLine3d line, OdGeTol tol, out OdGe.ErrorCondition status)
bool isInside(OdGePoint3d point, OdGeTol tol)
OdGeCircArc3d setRadius(double radius)
new OdGeCircArc3d mirror(OdGePlane plane)
OdGeCircArc3d Assign(OdGeCircArc3d arc)
new OdGeCircArc3d translateBy(OdGeVector3d translateVec)
new OdGeCircArc3d copy()
OdGeCircArc3d(OdGePoint3d center, OdGeVector3d normal, OdGeVector3d refVec, double radius)
OdGeCircArc3d setAxes(OdGeVector3d normal, OdGeVector3d refVec)
Teigha.Core.OdGe.EntityId vb_type()
OdGeCircArc3d setCenter(OdGePoint3d center)
OdGeCircArc3d joinWith(OdGeCircArc3d curve, OdGeTol iTolerance)
bool tangent(OdGePoint3d point, OdGeLine3d line, OdGeTol tol)
OdGePoint3d closestPointToPlane(OdGePlanarEnt plane, OdGePoint3d pointOnPlane, OdGeTol tol)
new OdGeCircArc3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeCircArc3d setAngles(double startAng, double endAng)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnArc1, OdGePoint3d pntOnArc2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2, OdGeTol tol)
OdGeCircArc3d(OdGeCircArc3d source)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, out int numInt, OdGePoint3d pntOnArc1, OdGePoint3d pntOnArc2, OdGePoint3d pntOnLine1, OdGePoint3d pntOnLine2)
bool intersectWith(OdGePlanarEnt plane, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeLine3d obj)
Definition OdGeLine3d.cs:25
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)