Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeExternalBoundedSurface.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 OdGeExternalBoundedSurface(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeExternalBoundedSurface_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeExternalBoundedSurface 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 void getContours(out int numContours, out OdGeCurveBoundary[] contours)
43 {
44 IntPtr contoursPtr = new IntPtr();
47 if (0 == numContours)
48 {
49 contours = null;
50 return;
51 }
52 contours = new OdGeCurveBoundary[numContours];
53 for (int Ctr = 0; Ctr < numContours; Ctr++)
54 {
55 contours[Ctr] = new OdGeCurveBoundary(Marshal.ReadIntPtr(contoursPtr, Ctr * Marshal.SizeOf(Marshal.SizeOf(typeof(IntPtr)))), false);
56 }
57 }
58
60 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeExternalBoundedSurface_copy(swigCPtr);
61 OdGeExternalBoundedSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExternalBoundedSurface(cPtr, false);
63 return ret;
64 }
65
71
77
83
89
95
101
107
108 public OdGeExternalBoundedSurface() : this(GlobalsPINVOKE.new_OdGeExternalBoundedSurface__SWIG_0(), true) {
110 }
111
112 public OdGeExternalBoundedSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeExternalBoundedSurface__SWIG_1(pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind, makeCopy), true) {
114 }
115
116 public OdGeExternalBoundedSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind) : this(GlobalsPINVOKE.new_OdGeExternalBoundedSurface__SWIG_2(pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind), true) {
118 }
119
123
129
135
140
146
152
158
164
170
176
182
188
194
200
201 public OdGeExternalBoundedSurface set(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy) {
202 OdGeExternalBoundedSurface ret = new OdGeExternalBoundedSurface(GlobalsPINVOKE.OdGeExternalBoundedSurface_set__SWIG_0(swigCPtr, pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind, makeCopy), false);
204 return ret;
205 }
206
207 public OdGeExternalBoundedSurface set(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind) {
208 OdGeExternalBoundedSurface ret = new OdGeExternalBoundedSurface(GlobalsPINVOKE.OdGeExternalBoundedSurface_set__SWIG_1(swigCPtr, pSurfaceDef /*SIMPLETYPE*/, (int)surfaceKind), false);
210 return ret;
211 }
212
218
224
230
237
242 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
243
244}
245
246}
static global::System.Exception Retrieve()
static bool OdGeExternalBoundedSurface_isTorus(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isEllipCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeExternalBoundedSurface_isCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isOwnerOfSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3)
static void OdGeExternalBoundedSurface_getContours(HandleRef jarg1, out int jarg2, out IntPtr jarg3)
static int OdGeExternalBoundedSurface_externalSurfaceKind(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeExternalBoundedSurface_numContours(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExternalBoundedSurface_getExternalSurface(global::System.Runtime.InteropServices.HandleRef jarg1, out IntPtr jarg2)
static global::System.IntPtr OdGeExternalBoundedSurface_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeExternalBoundedSurface_getBaseSurfaceEx(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isSphere(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isExternalSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeExternalBoundedSurface_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExternalBoundedSurface_isCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isNurbs(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3, bool jarg4)
static global::System.IntPtr OdGeExternalBoundedSurface_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeExternalBoundedSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExternalBoundedSurface_isDefined(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalBoundedSurface_isEllipCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalBoundedSurface_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalBoundedSurface_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 OdGeExternalBoundedSurface_setToOwnSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
new OdGeExternalBoundedSurface transformBy(OdGeMatrix3d xfm)
static HandleRef getCPtr(OdGeExternalBoundedSurface obj)
new OdGeExternalBoundedSurface rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeExternalBoundedSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind, bool makeCopy)
new OdGeExternalBoundedSurface mirror(OdGePlane plane)
new OdGeExternalBoundedSurface translateBy(OdGeVector3d translateVec)
new OdGeExternalBoundedSurface scaleBy(double scaleFactor)
new OdGeExternalBoundedSurface scaleBy(double scaleFactor, OdGePoint3d basePoint)
void getContours(out int numContours, out OdGeCurveBoundary[] contours)
OdGeExternalBoundedSurface(OdGeExternalBoundedSurface source)
OdGeExternalBoundedSurface(IntPtr cPtr, bool cMemoryOwn)
OdGeExternalBoundedSurface Assign(OdGeExternalBoundedSurface extBoundSurf)
OdGeExternalBoundedSurface(IntPtr pSurfaceDef, OdGe.ExternalEntityKind surfaceKind)
new OdGeExternalBoundedSurface rotateBy(double angle, OdGeVector3d vect)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)