Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeCylinder.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 OdGeCylinder : OdGeSurface {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeCylinder(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCylinder_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCylinder 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 OdGeCylinder() : this(GlobalsPINVOKE.new_OdGeCylinder__SWIG_0(), true) {
44 }
45
48 }
49
50 public OdGeCylinder(double radius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng) : this(GlobalsPINVOKE.new_OdGeCylinder__SWIG_2(radius, OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(axisOfSymmetry), OdGeVector3d.getCPtr(refAxis), OdGeInterval.getCPtr(height), startAng, endAng), true) {
52 }
53
54 public OdGeCylinder(OdGeCylinder cylinder) : this(GlobalsPINVOKE.new_OdGeCylinder__SWIG_3(OdGeCylinder.getCPtr(cylinder)), true) {
56 }
57
58 public double radius() {
59 double ret = GlobalsPINVOKE.OdGeCylinder_radius(swigCPtr);
61 return ret;
62 }
63
67 return ret;
68 }
69
70 public void getAngles(out double startAng, out double endAng) {
71 GlobalsPINVOKE.OdGeCylinder_getAngles(swigCPtr, out startAng, out endAng);
73 }
74
75 public void getHeight(OdGeInterval height) {
78 }
79
80 public double heightAt(double u) {
81 double ret = GlobalsPINVOKE.OdGeCylinder_heightAt(swigCPtr, u);
83 return ret;
84 }
85
89 return ret;
90 }
91
95 return ret;
96 }
97
98 public bool isOuterNormal() {
99 bool ret = GlobalsPINVOKE.OdGeCylinder_isOuterNormal(swigCPtr);
101 return ret;
102 }
103
104 public bool isClosed(OdGeTol tol) {
107 return ret;
108 }
109
110 public bool isClosed() {
113 return ret;
114 }
115
119 return ret;
120 }
121
122 public OdGeCylinder setAngles(double startAng, double endAng) {
123 OdGeCylinder ret = new OdGeCylinder(GlobalsPINVOKE.OdGeCylinder_setAngles(swigCPtr, startAng, endAng), false);
125 return ret;
126 }
127
131 return ret;
132 }
133
134 public OdGeCylinder set(double radius, OdGePoint3d origin, OdGeVector3d axisOfSym) {
137 return ret;
138 }
139
140 public OdGeCylinder set(double radius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng) {
143 return ret;
144 }
145
146 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
149 return ret;
150 }
151
152 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
155 return ret;
156 }
157
161 return ret;
162 }
163
164 public void setIsOuterNormal(bool isOuterNormal) {
167 }
168
169 public double getUParamScale() {
170 double ret = GlobalsPINVOKE.OdGeCylinder_getUParamScale(swigCPtr);
172 return ret;
173 }
174
175 public void setUParamScale(double uScale) {
178 }
179
180 public void setUParamScale() {
183 }
184
189 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
190
195 public Teigha.Core.OdGePoint3d vb_origin() { return this.origin(); }
196
197}
198
199}
static global::System.Exception Retrieve()
static void OdGeCylinder_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static bool OdGeCylinder_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, double jarg7, double jarg8)
static void OdGeCylinder_setUParamScale__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCylinder_setIsOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGeCylinder_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 OdGeCylinder_radius(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCylinder_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCylinder_isOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeCylinder_heightAt(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdGeCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_refAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCylinder_getHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCylinder_setHeight(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCylinder_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 OdGeCylinder_origin(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeCylinder_getUParamScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void OdGeCylinder_setUParamScale__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCylinder_axisOfSymmetry(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCylinder_setRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
void getHeight(OdGeInterval height)
Definition: OdGeCylinder.cs:75
double heightAt(double u)
Definition: OdGeCylinder.cs:80
OdGeCylinder setAngles(double startAng, double endAng)
bool isClosed(OdGeTol tol)
static HandleRef getCPtr(OdGeCylinder obj)
Definition: OdGeCylinder.cs:25
OdGeVector3d axisOfSymmetry()
Definition: OdGeCylinder.cs:86
override void Dispose(bool disposing)
Definition: OdGeCylinder.cs:29
OdGeCylinder(double radius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng)
Definition: OdGeCylinder.cs:50
Teigha.Core.OdGe.EntityId vb_type()
OdGeCylinder setHeight(OdGeInterval height)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
OdGeCylinder(OdGeCylinder cylinder)
Definition: OdGeCylinder.cs:54
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
OdGeCylinder Assign(OdGeCylinder cylinder)
Teigha.Core.OdGePoint3d vb_origin()
OdGeCylinder(double radius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry)
Definition: OdGeCylinder.cs:46
void setUParamScale(double uScale)
void getAngles(out double startAng, out double endAng)
Definition: OdGeCylinder.cs:70
OdGeCylinder(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeCylinder.cs:20
OdGeVector3d refAxis()
Definition: OdGeCylinder.cs:92
OdGeCylinder setRadius(double radius)
void setIsOuterNormal(bool isOuterNormal)
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