Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeCone.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 OdGeCone : OdGeSurface {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeCone(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCone_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCone 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 OdGeCone() : this(GlobalsPINVOKE.new_OdGeCone__SWIG_0(), true) {
44 }
45
46 public OdGeCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double baseRadius, OdGeVector3d axisOfSymmetry) : this(GlobalsPINVOKE.new_OdGeCone__SWIG_1(cosineAngle, sineAngle, OdGePoint3d.getCPtr(baseOrigin), baseRadius, OdGeVector3d.getCPtr(axisOfSymmetry)), true) {
48 }
49
50 public OdGeCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double baseRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng) : this(GlobalsPINVOKE.new_OdGeCone__SWIG_2(cosineAngle, sineAngle, OdGePoint3d.getCPtr(baseOrigin), baseRadius, OdGeVector3d.getCPtr(axisOfSymmetry), OdGeVector3d.getCPtr(refAxis), OdGeInterval.getCPtr(height), startAng, endAng), true) {
52 }
53
54 public OdGeCone(OdGeCone cone) : this(GlobalsPINVOKE.new_OdGeCone__SWIG_3(OdGeCone.getCPtr(cone)), true) {
56 }
57
58 public double baseRadius() {
59 double ret = GlobalsPINVOKE.OdGeCone_baseRadius(swigCPtr);
61 return ret;
62 }
63
67 return ret;
68 }
69
70 public void getAngles(out double startAng, out double endAng) {
71 GlobalsPINVOKE.OdGeCone_getAngles(swigCPtr, out startAng, out endAng);
73 }
74
75 public double halfAngle() {
76 double ret = GlobalsPINVOKE.OdGeCone_halfAngle(swigCPtr);
78 return ret;
79 }
80
81 public void getHalfAngle(out double cosineAngle, out double sineAngle) {
82 GlobalsPINVOKE.OdGeCone_getHalfAngle(swigCPtr, out cosineAngle, out sineAngle);
84 }
85
86 public void getHalfAngleSigned(out double cosineAngle, out double sineAngle) {
87 GlobalsPINVOKE.OdGeCone_getHalfAngleSigned(swigCPtr, out cosineAngle, out sineAngle);
89 }
90
91 public void getHeight(OdGeInterval height) {
94 }
95
96 public double heightAt(double u) {
97 double ret = GlobalsPINVOKE.OdGeCone_heightAt(swigCPtr, u);
99 return ret;
100 }
101
105 return ret;
106 }
107
109 OdGeVector3d ret = new OdGeVector3d(GlobalsPINVOKE.OdGeCone_refAxis(swigCPtr), true);
111 return ret;
112 }
113
114 public OdGePoint3d apex() {
115 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeCone_apex(swigCPtr), true);
117 return ret;
118 }
119
120 public bool isClosed(OdGeTol tol) {
121 bool ret = GlobalsPINVOKE.OdGeCone_isClosed__SWIG_0(swigCPtr, OdGeTol.getCPtr(tol));
123 return ret;
124 }
125
126 public bool isClosed() {
127 bool ret = GlobalsPINVOKE.OdGeCone_isClosed__SWIG_1(swigCPtr);
129 return ret;
130 }
131
132 public bool isOuterNormal() {
133 bool ret = GlobalsPINVOKE.OdGeCone_isOuterNormal(swigCPtr);
135 return ret;
136 }
137
141 return ret;
142 }
143
144 public OdGeCone setAngles(double startAng, double endAng) {
145 OdGeCone ret = new OdGeCone(GlobalsPINVOKE.OdGeCone_setAngles(swigCPtr, startAng, endAng), false);
147 return ret;
148 }
149
151 OdGeCone ret = new OdGeCone(GlobalsPINVOKE.OdGeCone_setHeight(swigCPtr, OdGeInterval.getCPtr(height)), false);
153 return ret;
154 }
155
156 public double getPoleParam() {
157 double ret = GlobalsPINVOKE.OdGeCone_getPoleParam(swigCPtr);
159 return ret;
160 }
161
162 public OdGeCone set(double cosineAngle, double sineAngle, OdGePoint3d baseCenter, double baseRadius, OdGeVector3d axisOfSymmetry) {
165 return ret;
166 }
167
168 public OdGeCone set(double cosineAngle, double sineAngle, OdGePoint3d baseCenter, double baseRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng) {
171 return ret;
172 }
173
174 public OdGeCone Assign(OdGeCone cone) {
175 OdGeCone ret = new OdGeCone(GlobalsPINVOKE.OdGeCone_Assign(swigCPtr, OdGeCone.getCPtr(cone)), false);
177 return ret;
178 }
179
180 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
183 return ret;
184 }
185
186 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
189 return ret;
190 }
191
192 public double getUParamScale() {
193 double ret = GlobalsPINVOKE.OdGeCone_getUParamScale(swigCPtr);
195 return ret;
196 }
197
198 public void setUParamScale(double uScale) {
201 }
202
203 public void setUParamScale() {
206 }
207
212 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
213
214}
215
216}
static global::System.Exception Retrieve()
static double OdGeCone_getUParamScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeCone_heightAt(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCone_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, double jarg9, double jarg10)
static bool OdGeCone_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 void OdGeCone_setUParamScale__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCone_setUParamScale__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeCone_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 OdGeCone_setHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCone_setBaseRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeCone_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCone_getHalfAngle(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static void OdGeCone_getHalfAngleSigned(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static double OdGeCone_getPoleParam(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCone_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_apex(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_baseCenter(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static bool OdGeCone_isOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_axisOfSymmetry(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_refAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeCone_baseRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCone_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCone_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static double OdGeCone_halfAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCone_getHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCone_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
double baseRadius()
Definition: OdGeCone.cs:58
double getUParamScale()
Definition: OdGeCone.cs:192
void getHalfAngleSigned(out double cosineAngle, out double sineAngle)
Definition: OdGeCone.cs:86
OdGeCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double baseRadius, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng)
Definition: OdGeCone.cs:50
double getPoleParam()
Definition: OdGeCone.cs:156
static HandleRef getCPtr(OdGeCone obj)
Definition: OdGeCone.cs:25
OdGeCone Assign(OdGeCone cone)
Definition: OdGeCone.cs:174
override void Dispose(bool disposing)
Definition: OdGeCone.cs:29
double heightAt(double u)
Definition: OdGeCone.cs:96
OdGeCone(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeCone.cs:20
void setUParamScale(double uScale)
Definition: OdGeCone.cs:198
OdGeCone setAngles(double startAng, double endAng)
Definition: OdGeCone.cs:144
OdGeCone(double cosineAngle, double sineAngle, OdGePoint3d baseOrigin, double baseRadius, OdGeVector3d axisOfSymmetry)
Definition: OdGeCone.cs:46
void getHeight(OdGeInterval height)
Definition: OdGeCone.cs:91
OdGePoint3d apex()
Definition: OdGeCone.cs:114
bool isClosed(OdGeTol tol)
Definition: OdGeCone.cs:120
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
Definition: OdGeCone.cs:180
OdGeVector3d axisOfSymmetry()
Definition: OdGeCone.cs:102
void getAngles(out double startAng, out double endAng)
Definition: OdGeCone.cs:70
double halfAngle()
Definition: OdGeCone.cs:75
void getHalfAngle(out double cosineAngle, out double sineAngle)
Definition: OdGeCone.cs:81
OdGeCone setHeight(OdGeInterval height)
Definition: OdGeCone.cs:150
OdGeCone setBaseRadius(double baseRadius)
Definition: OdGeCone.cs:138
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGeCone.cs:212
OdGeCone(OdGeCone cone)
Definition: OdGeCone.cs:54
OdGeVector3d refAxis()
Definition: OdGeCone.cs:108
OdGePoint3d baseCenter()
Definition: OdGeCone.cs:64
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
Definition: OdGeCone.cs:186
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