Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeRevolvedSurface.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeRevolvedSurface(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeRevolvedSurface_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeRevolvedSurface 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 OdGeRevolvedSurface() : this(GlobalsPINVOKE.new_OdGeRevolvedSurface__SWIG_0(), true) {
44 }
45
46 public OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef, double startAngle, double endAngle) : this(GlobalsPINVOKE.new_OdGeRevolvedSurface__SWIG_1(OdGeCurve3d.getCPtr(pProfile), OdGePoint3d.getCPtr(pBase), OdGeVector3d.getCPtr(pAxis), OdGeVector3d.getCPtr(pRef), startAngle, endAngle), true) {
48 }
49
50 public OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef, double startAngle) : this(GlobalsPINVOKE.new_OdGeRevolvedSurface__SWIG_2(OdGeCurve3d.getCPtr(pProfile), OdGePoint3d.getCPtr(pBase), OdGeVector3d.getCPtr(pAxis), OdGeVector3d.getCPtr(pRef), startAngle), true) {
52 }
53
54 public OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef) : this(GlobalsPINVOKE.new_OdGeRevolvedSurface__SWIG_3(OdGeCurve3d.getCPtr(pProfile), OdGePoint3d.getCPtr(pBase), OdGeVector3d.getCPtr(pAxis), OdGeVector3d.getCPtr(pRef)), true) {
56 }
57
58 public OdGeRevolvedSurface(OdGeRevolvedSurface revolvedSurf) : this(GlobalsPINVOKE.new_OdGeRevolvedSurface__SWIG_4(OdGeRevolvedSurface.getCPtr(revolvedSurf)), true) {
60 }
61
65 return ret;
66 }
67
69 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeRevolvedSurface_getProfile(swigCPtr), false);
70
72 return ret;
73}
74
78 return ret;
79 }
80
84 return ret;
85 }
86
90 return ret;
91 }
92
93 public void getAngles(out double startAngle, out double endAngle) {
94 GlobalsPINVOKE.OdGeRevolvedSurface_getAngles(swigCPtr, out startAngle, out endAngle);
96 }
97
98 public OdGeRevolvedSurface setAngles(double startAngle, double endAngle) {
99 OdGeRevolvedSurface ret = new OdGeRevolvedSurface(GlobalsPINVOKE.OdGeRevolvedSurface_setAngles(swigCPtr, startAngle, endAngle), false);
101 return ret;
102 }
103
107 return ret;
108 }
109
110 public void set(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef) {
113 }
114
119 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
120
121}
122
123}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeRevolvedSurface_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGeRevolvedSurface_setRef(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeRevolvedSurface_getBasePoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeRevolvedSurface_getAngles(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3)
static void delete_OdGeRevolvedSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeRevolvedSurface_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeRevolvedSurface_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeRevolvedSurface_getRef(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGeRevolvedSurface_getProfile(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeRevolvedSurface_getAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeCurve3d obj)
Definition: OdGeCurve3d.cs:25
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
OdGeRevolvedSurface setAngles(double startAngle, double endAngle)
OdGeRevolvedSurface(IntPtr cPtr, bool cMemoryOwn)
void getAngles(out double startAngle, out double endAngle)
static HandleRef getCPtr(OdGeRevolvedSurface obj)
OdGeRevolvedSurface Assign(OdGeRevolvedSurface revolvedSurf)
OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef)
OdGeRevolvedSurface setRef(OdGeVector3d pRef)
Teigha.Core.OdGe.EntityId vb_type()
OdGeRevolvedSurface(OdGeRevolvedSurface revolvedSurf)
override void Dispose(bool disposing)
OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef, double startAngle)
OdGeRevolvedSurface(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis, OdGeVector3d pRef, double startAngle, double endAngle)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26