Extended .NET SDK Documentation 2025 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 new OdGeCylinder copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeCylinder_copy(swigCPtr);
44 OdGeCylinder ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeCylinder(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeCylinder rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeCylinder scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeCylinder ret = new OdGeCylinder(GlobalsPINVOKE.OdGeCylinder_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeCylinder scaleBy(double scaleFactor) {
86 OdGeCylinder ret = new OdGeCylinder(GlobalsPINVOKE.OdGeCylinder_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeCylinder() : this(GlobalsPINVOKE.new_OdGeCylinder__SWIG_0(), true) {
93 }
94
98
102
103 public OdGeCylinder(OdGeCylinder cylinder) : this(GlobalsPINVOKE.new_OdGeCylinder__SWIG_3(OdGeCylinder.getCPtr(cylinder)), true) {
105 }
106
107 public double radius() {
108 double ret = GlobalsPINVOKE.OdGeCylinder_radius(swigCPtr);
110 return ret;
111 }
112
118
119 public void getAngles(out double startAng, out double endAng) {
120 GlobalsPINVOKE.OdGeCylinder_getAngles(swigCPtr, out startAng, out endAng);
122 }
123
128
129 public double heightAt(double u) {
130 double ret = GlobalsPINVOKE.OdGeCylinder_heightAt(swigCPtr, u);
132 return ret;
133 }
134
140
146
152
158
159 public bool isClosed() {
162 return ret;
163 }
164
170
171 public OdGeCylinder setAngles(double startAng, double endAng) {
172 OdGeCylinder ret = new OdGeCylinder(GlobalsPINVOKE.OdGeCylinder_setAngles(swigCPtr, startAng, endAng), false);
174 return ret;
175 }
176
182
188
194
195 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
198 return ret;
199 }
200
201 public bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
204 return ret;
205 }
206
212
217
218 public double getUParamScale() {
219 double ret = GlobalsPINVOKE.OdGeCylinder_getUParamScale(swigCPtr);
221 return ret;
222 }
223
228
233
238 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
239
244 public Teigha.Core.OdGePoint3d vb_origin() { return this.origin(); }
245
246}
247
248}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCylinder_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGeCylinder_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static global::System.IntPtr OdGeCylinder_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 global::System.IntPtr OdGeCylinder_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCylinder_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 OdGeCylinder_transformBy(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 global::System.IntPtr OdGeCylinder_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCylinder_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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)
double heightAt(double u)
OdGeCylinder setAngles(double startAng, double endAng)
new OdGeCylinder scaleBy(double scaleFactor)
bool isClosed(OdGeTol tol)
static HandleRef getCPtr(OdGeCylinder obj)
OdGeVector3d axisOfSymmetry()
override void Dispose(bool disposing)
new OdGeCylinder rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeCylinder(double radius, OdGePoint3d origin, OdGeVector3d axisOfSymmetry, OdGeVector3d refAxis, OdGeInterval height, double startAng, double endAng)
new OdGeCylinder transformBy(OdGeMatrix3d xfm)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeCylinder translateBy(OdGeVector3d translateVec)
OdGeCylinder setHeight(OdGeInterval height)
new OdGeCylinder scaleBy(double scaleFactor, OdGePoint3d basePoint)
bool intersectWith(OdGeLinearEnt3d linEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
OdGeCylinder(OdGeCylinder cylinder)
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)
void setUParamScale(double uScale)
void getAngles(out double startAng, out double endAng)
new OdGeCylinder rotateBy(double angle, OdGeVector3d vect)
OdGeCylinder(IntPtr cPtr, bool cMemoryOwn)
OdGeCylinder setRadius(double radius)
void setIsOuterNormal(bool isOuterNormal)
new OdGeCylinder mirror(OdGePlane plane)
new OdGeCylinder copy()
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)