Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeSpunSurf.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 OdGeSpunSurf : OdGeSurface {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeSpunSurf(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSpunSurf_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSpunSurf 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 OdGeSpunSurf copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeSpunSurf_copy(swigCPtr);
44 OdGeSpunSurf ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeSpunSurf(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeSpunSurf rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeSpunSurf scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeSpunSurf ret = new OdGeSpunSurf(GlobalsPINVOKE.OdGeSpunSurf_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeSpunSurf scaleBy(double scaleFactor) {
86 OdGeSpunSurf ret = new OdGeSpunSurf(GlobalsPINVOKE.OdGeSpunSurf_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeSpunSurf() : this(GlobalsPINVOKE.new_OdGeSpunSurf__SWIG_0(), true) {
93 }
94
95 public OdGeSpunSurf(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis) : this(GlobalsPINVOKE.new_OdGeSpunSurf__SWIG_1(OdGeCurve3d.getCPtr(pProfile), OdGePoint3d.getCPtr(pBase), OdGeVector3d.getCPtr(pAxis)), true) {
97 }
98
99 public OdGeSpunSurf(OdGeSpunSurf spunSurf) : this(GlobalsPINVOKE.new_OdGeSpunSurf__SWIG_2(OdGeSpunSurf.getCPtr(spunSurf)), true) {
101 }
102
108
110 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSpunSurf_getProfile(swigCPtr), false);
111
113 return ret;
114}
115
121
127
133
134 public OdGeSpunSurf setAngles(double startAngle, double endAngle) {
135 OdGeSpunSurf ret = new OdGeSpunSurf(GlobalsPINVOKE.OdGeSpunSurf_setAngles(swigCPtr, startAngle, endAngle), false);
137 return ret;
138 }
139
145
150
155 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
156
157}
158
159}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeSpunSurf_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSpunSurf_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSpunSurf_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSpunSurf_setRef(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSpunSurf_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeSpunSurf_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeSpunSurf_getBasePoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSpunSurf_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeSpunSurf_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSpunSurf_setAngles(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static IntPtr OdGeSpunSurf_getProfile(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSpunSurf_getRef(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSpunSurf_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSpunSurf_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSpunSurf_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeSpunSurf(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSpunSurf_getAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
OdGeSpunSurf(OdGeSpunSurf spunSurf)
static HandleRef getCPtr(OdGeSpunSurf obj)
new OdGeSpunSurf mirror(OdGePlane plane)
OdGeSpunSurf(OdGeCurve3d pProfile, OdGePoint3d pBase, OdGeVector3d pAxis)
new OdGeSpunSurf scaleBy(double scaleFactor, OdGePoint3d basePoint)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeSpunSurf scaleBy(double scaleFactor)
new OdGeSpunSurf rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeSpunSurf setRef(OdGeVector3d pRef)
new OdGeSpunSurf transformBy(OdGeMatrix3d xfm)
override void Dispose(bool disposing)
new OdGeSpunSurf translateBy(OdGeVector3d translateVec)
OdGeSpunSurf Assign(OdGeSpunSurf spunSurface)
OdGeSpunSurf setAngles(double startAngle, double endAngle)
new OdGeSpunSurf copy()
OdGeSpunSurf(IntPtr cPtr, bool cMemoryOwn)
new OdGeSpunSurf rotateBy(double angle, OdGeVector3d vect)
static HandleRef getCPtr(OdGeVector3d obj)