Extended .NET SDK Documentation 2024 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 OdGeEllipCone() : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_0(), true) {
44 }
45
46 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) {
48 }
49
50 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) {
52 }
53
54 public OdGeEllipCone(OdGeEllipCone cone) : this(GlobalsPINVOKE.new_OdGeEllipCone__SWIG_3(OdGeEllipCone.getCPtr(cone)), true) {
56 }
57
58 public double radiusRatio() {
59 double ret = GlobalsPINVOKE.OdGeEllipCone_radiusRatio(swigCPtr);
61 return ret;
62 }
63
64 public double minorRadius() {
65 double ret = GlobalsPINVOKE.OdGeEllipCone_minorRadius(swigCPtr);
67 return ret;
68 }
69
70 public double majorRadius() {
71 double ret = GlobalsPINVOKE.OdGeEllipCone_majorRadius(swigCPtr);
73 return ret;
74 }
75
79 return ret;
80 }
81
82 public void getAngles(out double startAng, out double endAng) {
83 GlobalsPINVOKE.OdGeEllipCone_getAngles(swigCPtr, out startAng, out endAng);
85 }
86
87 public double halfAngle() {
88 double ret = GlobalsPINVOKE.OdGeEllipCone_halfAngle(swigCPtr);
90 return ret;
91 }
92
93 public void getHalfAngle(out double cosineAngle, out double sineAngle) {
94 GlobalsPINVOKE.OdGeEllipCone_getHalfAngle(swigCPtr, out cosineAngle, out sineAngle);
96 }
97
98 public void getHeight(OdGeInterval height) {
101 }
102
103 public double heightAt(double u) {
104 double ret = GlobalsPINVOKE.OdGeEllipCone_heightAt(swigCPtr, u);
106 return ret;
107 }
108
112 return ret;
113 }
114
118 return ret;
119 }
120
124 return ret;
125 }
126
127 public OdGePoint3d apex() {
128 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeEllipCone_apex(swigCPtr), true);
130 return ret;
131 }
132
133 public bool isClosed(OdGeTol tol) {
136 return ret;
137 }
138
139 public bool isClosed() {
142 return ret;
143 }
144
145 public bool isOuterNormal() {
146 bool ret = GlobalsPINVOKE.OdGeEllipCone_isOuterNormal(swigCPtr);
148 return ret;
149 }
150
154 return ret;
155 }
156
160 return ret;
161 }
162
163 public OdGeEllipCone setAngles(double startAng, double endAng) {
164 OdGeEllipCone ret = new OdGeEllipCone(GlobalsPINVOKE.OdGeEllipCone_setAngles(swigCPtr, startAng, endAng), false);
166 return ret;
167 }
168
172 return ret;
173 }
174
175 public double getPoleParam() {
176 double ret = GlobalsPINVOKE.OdGeEllipCone_getPoleParam(swigCPtr);
178 return ret;
179 }
180
181 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
184 return ret;
185 }
186
187 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
190 return ret;
191 }
192
193 public OdGeEllipCone set(double cosineAngle, double sineAngle, OdGePoint3d center, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry) {
196 return ret;
197 }
198
199 public OdGeEllipCone set(double cosineAngle, double sineAngle, OdGePoint3d center, double minorRadius, double majorRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d majorAxis, OdGeInterval height, double startAng, double endAng) {
202 return ret;
203 }
204
208 return ret;
209 }
210
211 public double getUParamScale() {
212 double ret = GlobalsPINVOKE.OdGeEllipCone_getUParamScale(swigCPtr);
214 return ret;
215 }
216
217 public void setUParamScale(double uScale) {
220 }
221
222 public void setUParamScale() {
225 }
226
231 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
232
233}
234
235}
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 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 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 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 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_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)
OdGeEllipCone setMajorRadius(double majorRadius)
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)
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)
static HandleRef getCPtr(OdGeEllipCone obj)
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)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeInterval obj)
Definition: OdGeInterval.cs:26
static HandleRef getCPtr(OdGeLinearEnt3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26