Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeExternalSurface.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 OdGeExternalSurface(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeExternalSurface_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeExternalSurface 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
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeExternalSurface_copy(swigCPtr);
44 OdGeExternalSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExternalSurface(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeExternalSurface scaleBy(double scaleFactor, OdGePoint3d basePoint) {
82 return ret;
83 }
84
90
91 public OdGeExternalSurface() : this(GlobalsPINVOKE.new_OdGeExternalSurface__SWIG_0(), true) {
93 }
94
95 public OdGeExternalSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeExternalSurface__SWIG_1(pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind, makeCopy), true) {
97 }
98
99 public OdGeExternalSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind) : this(GlobalsPINVOKE.new_OdGeExternalSurface__SWIG_2(pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind), true) {
101 }
102
106
111
117
118 public bool isPlane() {
119 bool ret = GlobalsPINVOKE.OdGeExternalSurface_isPlane(swigCPtr);
121 return ret;
122 }
123
124 public bool isSphere() {
125 bool ret = GlobalsPINVOKE.OdGeExternalSurface_isSphere(swigCPtr);
127 return ret;
128 }
129
135
136 public bool isCone() {
137 bool ret = GlobalsPINVOKE.OdGeExternalSurface_isCone(swigCPtr);
139 return ret;
140 }
141
147
153
154 public bool isTorus() {
155 bool ret = GlobalsPINVOKE.OdGeExternalSurface_isTorus(swigCPtr);
157 return ret;
158 }
159
165
171
172 public bool isNativeSurface(ref OdGeSurface nativeSurface) {
173 bool ret = GlobalsPINVOKE.OdGeExternalSurface_isNativeSurface(swigCPtr, ref nativeSurface);
175 return ret;
176 }
177
183
184 public OdGeExternalSurface set(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy) {
185 OdGeExternalSurface ret = new OdGeExternalSurface(GlobalsPINVOKE.OdGeExternalSurface_set__SWIG_0(swigCPtr, pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind, makeCopy), false);
187 return ret;
188 }
189
190 public OdGeExternalSurface set(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind) {
191 OdGeExternalSurface ret = new OdGeExternalSurface(GlobalsPINVOKE.OdGeExternalSurface_set__SWIG_1(swigCPtr, pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind), false);
193 return ret;
194 }
195
201
207
212 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
213
214}
215
216}
static global::System.Exception Retrieve()
static bool OdGeExternalSurface_isDefined(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalSurface_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeExternalSurface_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalSurface_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeExternalSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalSurface_isNurbSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExternalSurface_isTorus(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExternalSurface_getExternalSurface(global::System.Runtime.InteropServices.HandleRef jarg1, out IntPtr jarg2)
static bool OdGeExternalSurface_isSphere(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeExternalSurface_externalSurfaceKind(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_setToOwnSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExternalSurface_isOwnerOfSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalSurface_isNativeSurface(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGeSurface jarg2)
static global::System.IntPtr OdGeExternalSurface_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3)
static global::System.IntPtr OdGeExternalSurface_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExternalSurface_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3, bool jarg4)
static bool OdGeExternalSurface_isCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalSurface_isCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalSurface_isPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalSurface_isEllipCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalSurface_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeExternalSurface_isEllipCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
new OdGeExternalSurface scaleBy(double scaleFactor, OdGePoint3d basePoint)
static HandleRef getCPtr(OdGeExternalSurface obj)
new OdGeExternalSurface scaleBy(double scaleFactor)
override void Dispose(bool disposing)
OdGeExternalSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy)
OdGeExternalSurface(OdGeExternalSurface source)
bool isNativeSurface(ref OdGeSurface nativeSurface)
new OdGeExternalSurface rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeExternalSurface Assign(OdGeExternalSurface extSurf)
OdGe.ExternalEntityKind externalSurfaceKind()
new OdGeExternalSurface transformBy(OdGeMatrix3d xfm)
new OdGeExternalSurface translateBy(OdGeVector3d translateVec)
new OdGeExternalSurface rotateBy(double angle, OdGeVector3d vect)
OdGeExternalSurface(IntPtr cPtr, bool cMemoryOwn)
new OdGeExternalSurface copy()
void getExternalSurface(out IntPtr pSurfaceDef)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeExternalSurface mirror(OdGePlane plane)
OdGeExternalSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)