Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAsSphere.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 OdAsSphere : OdAsSurface {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdAsSphere(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdAsSphere_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdAsSphere 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.OdAsSphere_m_Center3d_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.OdAsSphere_m_northAxis_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.OdAsSphere_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.OdAsSphere_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.OdAsSphere_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.OdAsSphere_m_dRadius_get(swigCPtr);
114 return ret;
115 }
116 }
117
118 public OdAsSphere() : this(TD_DbPINVOKE.new_OdAsSphere(), true) {
120 }
121
122 public override OdAsSurface.AsSurfType getType() {
125 return ret;
126 }
127
128 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
131 return ret;
132 }
133
134 public override void dwgOutFields(OdDbDwgFiler pFiler) {
137 }
138
139 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
142 return ret;
143 }
144
145 public override void dxfOutFields(OdDbDxfFiler pFiler) {
148 }
149
150}
151
152}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
override OdAsSurface.AsSurfType getType()
Definition: OdAsSphere.cs:122
OdGePoint3d m_Center3d
Definition: OdAsSphere.cs:43
override void dwgOutFields(OdDbDwgFiler pFiler)
Definition: OdAsSphere.cs:134
override OdResult dwgInFields(OdDbDwgFiler pFiler)
Definition: OdAsSphere.cs:128
override void dxfOutFields(OdDbDxfFiler pFiler)
Definition: OdAsSphere.cs:145
OdGeVector3d m_refAxis
Definition: OdAsSphere.cs:69
static HandleRef getCPtr(OdAsSphere obj)
Definition: OdAsSphere.cs:26
OdGeVector3d m_northAxis
Definition: OdAsSphere.cs:56
override OdResult dxfInFields(OdDbDxfFiler pFiler)
Definition: OdAsSphere.cs:139
override void Dispose(bool disposing)
Definition: OdAsSphere.cs:30
OdAsSphere(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAsSphere.cs:21
static HandleRef getCPtr(OdDbDwgFiler obj)
Definition: OdDbDwgFiler.cs:26
static HandleRef getCPtr(OdDbDxfFiler obj)
Definition: OdDbDxfFiler.cs:26
static global::System.Exception Retrieve()
static double OdAsSphere_m_dRadius_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsSphere_dxfOutFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdAsSphere_m_dStartAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsSphere_m_Center3d_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAsSphere_m_refAxis_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdAsSphere_dxfInFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void delete_OdAsSphere(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsSphere_m_dIncludedAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdAsSphere_m_Center3d_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsSphere_m_northAxis_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdAsSphere_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAsSphere_m_dIncludedAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAsSphere_dwgOutFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdAsSphere_m_dRadius_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdAsSphere_m_northAxis_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAsSphere_dwgInFields(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdAsSphere_m_dStartAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdAsSphere_m_refAxis_get(global::System.Runtime.InteropServices.HandleRef jarg1)