Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAsCylinder.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdAsCylinder : OdAsSurface {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdAsCylinder(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdAsCylinder_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdAsCylinder obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
44 set {
47 }
48 get {
49 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAsCylinder_m_basePoint3d_get(swigCPtr);
50 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
52 return ret;
53 }
54 }
55
57 set {
60 }
61 get {
62 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAsCylinder_m_axisOfSymmetry_get(swigCPtr);
63 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
65 return ret;
66 }
67 }
68
70 set {
73 }
74 get {
75 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAsCylinder_m_refAxis_get(swigCPtr);
76 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
78 return ret;
79 }
80 }
81
82 public double m_dStartAngle {
83 set {
86 }
87 get {
88 double ret = TD_DbPINVOKE.OdAsCylinder_m_dStartAngle_get(swigCPtr);
90 return ret;
91 }
92 }
93
94 public double m_dIncludedAngle {
95 set {
98 }
99 get {
100 double ret = TD_DbPINVOKE.OdAsCylinder_m_dIncludedAngle_get(swigCPtr);
102 return ret;
103 }
104 }
105
106 public double m_dRadius {
107 set {
110 }
111 get {
112 double ret = TD_DbPINVOKE.OdAsCylinder_m_dRadius_get(swigCPtr);
114 return ret;
115 }
116 }
117
118 public double m_dHeight {
119 set {
122 }
123 get {
124 double ret = TD_DbPINVOKE.OdAsCylinder_m_dHeight_get(swigCPtr);
126 return ret;
127 }
128 }
129
130 public OdAsCylinder() : this(TD_DbPINVOKE.new_OdAsCylinder(), true) {
132 }
133
134 public override OdAsSurface.AsSurfType getType() {
137 return ret;
138 }
139
140 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
143 return ret;
144 }
145
146 public override void dwgOutFields(OdDbDwgFiler pFiler) {
149 }
150
151 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
154 return ret;
155 }
156
157 public override void dxfOutFields(OdDbDxfFiler pFiler) {
160 }
161
162}
163
164}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
override void dwgOutFields(OdDbDwgFiler pFiler)
override OdAsSurface.AsSurfType getType()
override void dxfOutFields(OdDbDxfFiler pFiler)
static HandleRef getCPtr(OdAsCylinder obj)
Definition: OdAsCylinder.cs:26
OdGeVector3d m_axisOfSymmetry
Definition: OdAsCylinder.cs:56
OdAsCylinder(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAsCylinder.cs:21
override OdResult dwgInFields(OdDbDwgFiler pFiler)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
OdGePoint3d m_basePoint3d
Definition: OdAsCylinder.cs:43
OdGeVector3d m_refAxis
Definition: OdAsCylinder.cs:69
override void Dispose(bool disposing)
Definition: OdAsCylinder.cs:30
static HandleRef getCPtr(OdDbDwgFiler obj)
Definition: OdDbDwgFiler.cs:26
static HandleRef getCPtr(OdDbDxfFiler obj)
Definition: OdDbDxfFiler.cs:26
static global::System.Exception Retrieve()
static void OdAsCylinder_m_refAxis_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAsCylinder_m_dStartAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAsCylinder_m_dHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdAsCylinder_m_dRadius_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsCylinder_dxfOutFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdAsCylinder_m_dHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAsCylinder_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAsCylinder_dwgInFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdAsCylinder_m_basePoint3d_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdAsCylinder_m_dStartAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAsCylinder_m_basePoint3d_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAsCylinder_m_axisOfSymmetry_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsCylinder_m_axisOfSymmetry_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdAsCylinder_m_refAxis_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdAsCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAsCylinder_dxfInFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdAsCylinder_m_dIncludedAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsCylinder_dwgOutFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdAsCylinder_m_dRadius_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAsCylinder_m_dIncludedAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)