Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeEllipCone.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 OdGeEllipCone : OdGeSurface {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeEllipCone(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeEllipCone_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeEllipCone 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 OdGeEllipCone copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeEllipCone_copy(swigCPtr);
44 OdGeEllipCone ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeEllipCone(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeEllipCone rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeEllipCone scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeEllipCone ret = new OdGeEllipCone(GlobalsPINVOKE.OdGeEllipCone_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeEllipCone scaleBy(double scaleFactor) {
86 OdGeEllipCone ret = new OdGeEllipCone(GlobalsPINVOKE.OdGeEllipCone_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeEllipCone() : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_0(), true) {
93 }
94
95 public OdGeEllipCone(double cosineAngle, double sineAngle, OdGePoint3d origin, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry) : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_1(cosineAngle, sineAngle, OdGePoint3d.getCPtr(origin), minorRadius, majorRadius, OdGeVector3d.getCPtr(axisOfSymmetry)), true) {
97 }
98
99 public OdGeEllipCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d majorAxis, OdGeInterval height, double startAng, double endAng) : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_2(cosineAngle, sineAngle, OdGePoint3d.getCPtr(baseOrigin), minorRadius, majorRadius, OdGeVector3d.getCPtr(axisOfSymmetry), OdGeVector3d.getCPtr(majorAxis), OdGeInterval.getCPtr(height), startAng, endAng), true) {
101 }
102
103 public OdGeEllipCone(OdGeEllipCone cone) : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_3(OdGeEllipCone.getCPtr(cone)), true) {
105 }
106
107 public double radiusRatio() {
108 double ret = GlobalsPINVOKE.OdGeEllipCone_radiusRatio(swigCPtr);
110 return ret;
111 }
112
113 public double minorRadius() {
114 double ret = GlobalsPINVOKE.OdGeEllipCone_minorRadius(swigCPtr);
116 return ret;
117 }
118
119 public double majorRadius() {
120 double ret = GlobalsPINVOKE.OdGeEllipCone_majorRadius(swigCPtr);
122 return ret;
123 }
124
130
131 public void getAngles(out double startAng, out double endAng) {
132 GlobalsPINVOKE.OdGeEllipCone_getAngles(swigCPtr, out startAng, out endAng);
134 }
135
136 public double halfAngle() {
137 double ret = GlobalsPINVOKE.OdGeEllipCone_halfAngle(swigCPtr);
139 return ret;
140 }
141
142 public void getHalfAngle(out double cosineAngle, out double sineAngle) {
143 GlobalsPINVOKE.OdGeEllipCone_getHalfAngle(swigCPtr, out cosineAngle, out sineAngle);
145 }
146
151
152 public double heightAt(double u) {
153 double ret = GlobalsPINVOKE.OdGeEllipCone_heightAt(swigCPtr, u);
155 return ret;
156 }
157
163
169
175
181
187
193
199
205
211
212 public OdGeEllipCone setAngles(double startAng, double endAng) {
213 OdGeEllipCone ret = new OdGeEllipCone(GlobalsPINVOKE.OdGeEllipCone_setAngles(swigCPtr, startAng, endAng), false);
215 return ret;
216 }
217
223
224 public double getPoleParam() {
225 double ret = GlobalsPINVOKE.OdGeEllipCone_getPoleParam(swigCPtr);
227 return ret;
228 }
229
235
241
242 public OdGeEllipCone set(double cosineAngle, double sineAngle, OdGePoint3d center, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry) {
245 return ret;
246 }
247
248 public OdGeEllipCone set(double cosineAngle, double sineAngle, OdGePoint3d center, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d majorAxis, OdGeInterval height, double startAng, double endAng) {
251 return ret;
252 }
253
259
260 public double getUParamScale() {
261 double ret = GlobalsPINVOKE.OdGeEllipCone_getUParamScale(swigCPtr);
263 return ret;
264 }
265
270
275
280 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
281
282}
283
284}
static global::System.Exception Retrieve()
static double OdGeEllipCone_getPoleParam(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCone_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCone_getUParamScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_axisOfSymmetry(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_setMinorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCone_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeEllipCone_majorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeEllipCone_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static void OdGeEllipCone_getHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeEllipCone_getHalfAngle(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static global::System.IntPtr OdGeEllipCone_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, double jarg10, double jarg11)
static global::System.IntPtr OdGeEllipCone_setMajorRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCone_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCone_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCone_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 global::System.IntPtr OdGeEllipCone_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static double OdGeEllipCone_minorRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCone_heightAt(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCone_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeEllipCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCone_radiusRatio(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeEllipCone_setUParamScale__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeEllipCone_halfAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEllipCone_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 OdGeEllipCone_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeEllipCone_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEllipCone_isOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCone_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCone_setHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCone_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEllipCone_baseCenter(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeEllipCone_setUParamScale__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeEllipCone_apex(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeEllipCone_majorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_minorAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEllipCone_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
new OdGeEllipCone copy()
OdGeEllipCone setMajorRadius(double majorRadius)
new OdGeEllipCone rotateBy(double angle, OdGeVector3d vect)
OdGeEllipCone setMinorRadius(double minorRadius)
bool isClosed(OdGeTol tol)
void getHalfAngle(out double cosineAngle, out double sineAngle)
Teigha.Core.OdGe.EntityId vb_type()
OdGeEllipCone(OdGeEllipCone cone)
OdGeEllipCone Assign(OdGeEllipCone cone)
void setUParamScale(double uScale)
OdGeVector3d axisOfSymmetry()
OdGeEllipCone(double cosineAngle, double sineAngle, OdGePoint3d origin, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry)
OdGeEllipCone(IntPtr cPtr, bool cMemoryOwn)
new OdGeEllipCone scaleBy(double scaleFactor, OdGePoint3d basePoint)
override void Dispose(bool disposing)
void getAngles(out double startAng, out double endAng)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
void getHeight(OdGeInterval height)
OdGeEllipCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d majorAxis, OdGeInterval height, double startAng, double endAng)
new OdGeEllipCone transformBy(OdGeMatrix3d xfm)
new OdGeEllipCone rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
static HandleRef getCPtr(OdGeEllipCone obj)
new OdGeEllipCone scaleBy(double scaleFactor)
new OdGeEllipCone translateBy(OdGeVector3d translateVec)
OdGeEllipCone setHeight(OdGeInterval height)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
double heightAt(double u)
OdGeEllipCone setAngles(double startAng, double endAng)
new OdGeEllipCone mirror(OdGePlane plane)
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)