Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeEllipCylinder.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 OdGeEllipCylinder(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeEllipCylinder_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeEllipCylinder 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 OdGeEllipCylinder copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeEllipCylinder_copy(swigCPtr);
44 OdGeEllipCylinder ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeEllipCylinder(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeEllipCylinder scaleBy(double scaleFactor, OdGePoint3d basePoint) {
82 return ret;
83 }
84
85 public new OdGeEllipCylinder scaleBy(double scaleFactor) {
88 return ret;
89 }
90
91 public OdGeEllipCylinder() : this(GlobalsPINVOKE.new_OdGeEllipCylinder__SWIG_0(), true) {
93 }
94
98
102
103 public OdGeEllipCylinder(OdGeEllipCylinder cylinder) : this(GlobalsPINVOKE.new_OdGeEllipCylinder__SWIG_3(OdGeEllipCylinder.getCPtr(cylinder)), true) {
105 }
106
107 public double radiusRatio() {
108 double ret = GlobalsPINVOKE.OdGeEllipCylinder_radiusRatio(swigCPtr);
110 return ret;
111 }
112
113 public double minorRadius() {
114 double ret = GlobalsPINVOKE.OdGeEllipCylinder_minorRadius(swigCPtr);
116 return ret;
117 }
118
119 public double majorRadius() {
120 double ret = GlobalsPINVOKE.OdGeEllipCylinder_majorRadius(swigCPtr);
122 return ret;
123 }
124
130
131 public void getAngles(out double startAng, out double endAng) {
132 GlobalsPINVOKE.OdGeEllipCylinder_getAngles(swigCPtr, out startAng, out endAng);
134 }
135
140
141 public double heightAt(double u) {
142 double ret = GlobalsPINVOKE.OdGeEllipCylinder_heightAt(swigCPtr, u);
144 return ret;
145 }
146
152
158
164
170
176
182
187
193
199
200 public OdGeEllipCylinder setAngles(double startAng, double endAng) {
201 OdGeEllipCylinder ret = new OdGeEllipCylinder(GlobalsPINVOKE.OdGeEllipCylinder_setAngles(swigCPtr, startAng, endAng), false);
203 return ret;
204 }
205
211
217
223
229
235
241
247
252
257
262 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
263
268 public Teigha.Core.OdGePoint3d vb_origin() { return this.origin(); }
269
270}
271
272}
static global::System.Exception Retrieve()
static double OdGeEllipCylinder_majorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCylinder_heightAt(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCylinder_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, double jarg8, double jarg9)
static global::System.IntPtr OdGeEllipCylinder_setHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCylinder_axisOfSymmetry(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCylinder_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 void OdGeEllipCylinder_setIsOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGeEllipCylinder_setUParamScale__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_minorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeEllipCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void OdGeEllipCylinder_getHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCylinder_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 OdGeEllipCylinder_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeEllipCylinder_isOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCylinder_radiusRatio(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_majorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCylinder_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipCylinder_setMinorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCylinder_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCylinder_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCylinder_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEllipCylinder_origin(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCylinder_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 OdGeEllipCylinder_minorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCylinder_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeEllipCylinder_setUParamScale__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCylinder_setMajorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCylinder_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCylinder_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeEllipCylinder_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static double OdGeEllipCylinder_getUParamScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCylinder_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGeEllipCylinder(double minorRadius, double majorRadius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry, OdGeVector3d majorAxis, OdGeInterval height, double startAng, double endAng)
OdGeEllipCylinder setMajorRadius(double majorRadius)
OdGeEllipCylinder(OdGeEllipCylinder cylinder)
OdGeEllipCylinder setMinorRadius(double minorRadius)
override void Dispose(bool disposing)
OdGeEllipCylinder(double minorRadius, double majorRadius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry)
OdGeEllipCylinder setAngles(double startAng, double endAng)
new OdGeEllipCylinder transformBy(OdGeMatrix3d xfm)
new OdGeEllipCylinder rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
new OdGeEllipCylinder mirror(OdGePlane plane)
OdGeEllipCylinder(IntPtr cPtr, bool cMemoryOwn)
new OdGeEllipCylinder rotateBy(double angle, OdGeVector3d vect)
new OdGeEllipCylinder scaleBy(double scaleFactor)
new OdGeEllipCylinder translateBy(OdGeVector3d translateVec)
Teigha.Core.OdGe.EntityId vb_type()
void getHeight(OdGeInterval height)
static HandleRef getCPtr(OdGeEllipCylinder obj)
void getAngles(out double startAng, out double endAng)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
OdGeEllipCylinder setHeight(OdGeInterval height)
void setIsOuterNormal(bool isOuterNormal)
new OdGeEllipCylinder copy()
OdGeEllipCylinder Assign(OdGeEllipCylinder cylinder)
new OdGeEllipCylinder scaleBy(double scaleFactor, OdGePoint3d basePoint)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
Teigha.Core.OdGePoint3d vb_origin()
static HandleRef getCPtr(OdGeInterval obj)
static HandleRef getCPtr(OdGeLinearEnt3d obj)
static HandleRef getCPtr(OdGeMatrix3d 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)