Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeSphere.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 OdGeSphere : OdGeSurface {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeSphere(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSphere_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSphere 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 OdGeSphere() : this(GlobalsPINVOKE.new_OdGeSphere__SWIG_0(), true) {
44 }
45
46 public OdGeSphere(double radius, OdGePoint3d center) : this(GlobalsPINVOKE.new_OdGeSphere__SWIG_1(radius, OdGePoint3d.getCPtr(center)), true) {
48 }
49
50 public OdGeSphere(double radius, OdGePoint3d center, OdGeVector3d northAxis, OdGeVector3d refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV) : this(GlobalsPINVOKE.new_OdGeSphere__SWIG_2(radius, OdGePoint3d.getCPtr(center), OdGeVector3d.getCPtr(northAxis), OdGeVector3d.getCPtr(refAxis), startAngleU, endAngleU, startAngleV, endAngleV), true) {
52 }
53
54 public OdGeSphere(OdGeSphere sphere) : this(GlobalsPINVOKE.new_OdGeSphere__SWIG_3(OdGeSphere.getCPtr(sphere)), true) {
56 }
57
58 public double radius() {
59 double ret = GlobalsPINVOKE.OdGeSphere_radius(swigCPtr);
61 return ret;
62 }
63
67 return ret;
68 }
69
70 public void getAnglesInU(out double startAngleU, out double endAngleU) {
71 GlobalsPINVOKE.OdGeSphere_getAnglesInU(swigCPtr, out startAngleU, out endAngleU);
73 }
74
75 public void getAnglesInV(out double startAngleV, out double endAngleV) {
76 GlobalsPINVOKE.OdGeSphere_getAnglesInV(swigCPtr, out startAngleV, out endAngleV);
78 }
79
83 return ret;
84 }
85
89 return ret;
90 }
91
95 return ret;
96 }
97
101 return ret;
102 }
103
104 public bool isOuterNormal() {
105 bool ret = GlobalsPINVOKE.OdGeSphere_isOuterNormal(swigCPtr);
107 return ret;
108 }
109
110 public bool isClosed(OdGeTol tol) {
113 return ret;
114 }
115
116 public bool isClosed() {
117 bool ret = GlobalsPINVOKE.OdGeSphere_isClosed__SWIG_1(swigCPtr);
119 return ret;
120 }
121
122 public OdGeSphere setRadius(double radius) {
125 return ret;
126 }
127
128 public OdGeSphere setAnglesInU(double startAngleU, double endAngleU) {
129 OdGeSphere ret = new OdGeSphere(GlobalsPINVOKE.OdGeSphere_setAnglesInU(swigCPtr, startAngleU, endAngleU), false);
131 return ret;
132 }
133
134 public OdGeSphere setAnglesInV(double startAngleV, double endAngleV) {
135 OdGeSphere ret = new OdGeSphere(GlobalsPINVOKE.OdGeSphere_setAnglesInV(swigCPtr, startAngleV, endAngleV), false);
137 return ret;
138 }
139
140 public OdGeSphere set(double radius, OdGePoint3d center) {
143 return ret;
144 }
145
146 public OdGeSphere set(double radius, OdGePoint3d center, OdGeVector3d northAxis, OdGeVector3d refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV) {
147 OdGeSphere ret = new OdGeSphere(GlobalsPINVOKE.OdGeSphere_set__SWIG_1(swigCPtr, radius, OdGePoint3d.getCPtr(center), OdGeVector3d.getCPtr(northAxis), OdGeVector3d.getCPtr(refAxis), startAngleU, endAngleU, startAngleV, endAngleV), false);
149 return ret;
150 }
151
152 public OdGeSphere Assign(OdGeSphere sphere) {
153 OdGeSphere ret = new OdGeSphere(GlobalsPINVOKE.OdGeSphere_Assign(swigCPtr, OdGeSphere.getCPtr(sphere)), false);
155 return ret;
156 }
157
158 public bool intersectWith(OdGeLinearEnt3d lineEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol) {
161 return ret;
162 }
163
164 public bool intersectWith(OdGeLinearEnt3d lineEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2) {
167 return ret;
168 }
169
170 public bool isReverseV() {
171 bool ret = GlobalsPINVOKE.OdGeSphere_isReverseV(swigCPtr);
173 return ret;
174 }
175
176 public void setReverseV(bool isReverseV) {
179 }
180
185 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
186
187}
188
189}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeSphere_setAnglesInV(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static double OdGeSphere_radius(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeSphere(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSphere_isClosed__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeSphere_getAnglesInV(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static global::System.IntPtr OdGeSphere_setRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeSphere_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeSphere_getAnglesInU(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static void OdGeSphere_setReverseV(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGeSphere_southPole(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSphere_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 OdGeSphere_refAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSphere_northAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSphere_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 bool OdGeSphere_isClosed__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSphere_northPole(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSphere_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSphere_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, double jarg6, double jarg7, double jarg8, double jarg9)
static bool OdGeSphere_isReverseV(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSphere_isOuterNormal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSphere_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSphere_setAnglesInU(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeLinearEnt3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
bool intersectWith(OdGeLinearEnt3d lineEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2)
Definition: OdGeSphere.cs:164
OdGePoint3d center()
Definition: OdGeSphere.cs:64
void getAnglesInV(out double startAngleV, out double endAngleV)
Definition: OdGeSphere.cs:75
bool isClosed(OdGeTol tol)
Definition: OdGeSphere.cs:110
OdGeVector3d northAxis()
Definition: OdGeSphere.cs:80
void setReverseV(bool isReverseV)
Definition: OdGeSphere.cs:176
OdGeSphere(OdGeSphere sphere)
Definition: OdGeSphere.cs:54
OdGeSphere Assign(OdGeSphere sphere)
Definition: OdGeSphere.cs:152
OdGeSphere setAnglesInV(double startAngleV, double endAngleV)
Definition: OdGeSphere.cs:134
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGeSphere.cs:185
OdGeSphere setRadius(double radius)
Definition: OdGeSphere.cs:122
void getAnglesInU(out double startAngleU, out double endAngleU)
Definition: OdGeSphere.cs:70
OdGeSphere(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeSphere.cs:20
OdGePoint3d southPole()
Definition: OdGeSphere.cs:98
override void Dispose(bool disposing)
Definition: OdGeSphere.cs:29
OdGeSphere(double radius, OdGePoint3d center)
Definition: OdGeSphere.cs:46
static HandleRef getCPtr(OdGeSphere obj)
Definition: OdGeSphere.cs:25
bool intersectWith(OdGeLinearEnt3d lineEnt, out int numInt, OdGePoint3d p1, OdGePoint3d p2, OdGeTol tol)
Definition: OdGeSphere.cs:158
OdGeSphere setAnglesInU(double startAngleU, double endAngleU)
Definition: OdGeSphere.cs:128
OdGeSphere(double radius, OdGePoint3d center, OdGeVector3d northAxis, OdGeVector3d refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
Definition: OdGeSphere.cs:50
OdGePoint3d northPole()
Definition: OdGeSphere.cs:92
OdGeVector3d refAxis()
Definition: OdGeSphere.cs:86
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26