Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeSurfaceCurve2dTo3d.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 OdGeSurfaceCurve2dTo3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSurfaceCurve2dTo3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSurfaceCurve2dTo3d 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.OdGeSurfaceCurve2dTo3d_copy(swigCPtr);
44 OdGeSurfaceCurve2dTo3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeSurfaceCurve2dTo3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
84
90
91 public OdGeSurfaceCurve2dTo3d() : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_0(), true) {
93 }
94
98
99 public OdGeSurfaceCurve2dTo3d(OdGeCurve2d uvc, OdGeSurface surf) : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_2(OdGeCurve2d.getCPtr(uvc), OdGeSurface.getCPtr(surf)), true) {
101 }
102
103 public OdGeSurfaceCurve2dTo3d(OdGeCurve2d pUvCurve, OdGeSurface pSurface, OdGeSurfaceCurve2dTo3d.OwnershipFlag ownership) : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_3(OdGeCurve2d.getCPtr(pUvCurve), OdGeSurface.getCPtr(pSurface), (int)ownership), true) {
105 }
106
112
113 public OdGeCurve2d curve() {
114 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeSurfaceCurve2dTo3d_curve(swigCPtr), false);
115
117 return ret;
118}
119
121 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfaceCurve2dTo3d_surface(swigCPtr), false);
122
124 return ret;
125}
126
131
136 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
137
142 public Teigha.Core.OdGeSurface vb_surface() { return this.surface(); }
143
144 public enum OwnershipFlag {
145 kCurveCopy = 0x01,
146 kCurveOwn = 0x02,
147 kCurveReference = 0x03,
148 kSurfaceCopy = 0x01 << 2,
149 kSurfaceOwn = 0x02 << 2,
150 kSurfaceReference = 0x03 << 2,
154 kCurveMask = 0x03,
155 kSurfaceMask = 0x03 << 2
156 }
157
158}
159
160}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeSurfaceCurve2dTo3d_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static IntPtr OdGeSurfaceCurve2dTo3d_surface(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeSurfaceCurve2dTo3d_getGeomExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeSurfaceCurve2dTo3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_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 OdGeSurfaceCurve2dTo3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurfaceCurve2dTo3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
new OdGeSurfaceCurve2dTo3d translateBy(OdGeVector3d translateVec)
new OdGeSurfaceCurve2dTo3d scaleBy(double scaleFactor)
OdGeSurfaceCurve2dTo3d(OdGeCurve2d uvc, OdGeSurface surf)
OdGeSurfaceCurve2dTo3d(OdGeSurfaceCurve2dTo3d source)
override void Dispose(bool disposing)
void getGeomExtents(OdGeExtents3d extents)
OdGeSurfaceCurve2dTo3d(IntPtr cPtr, bool cMemoryOwn)
new OdGeSurfaceCurve2dTo3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGeSurfaceCurve2dTo3d Assign(OdGeSurfaceCurve2dTo3d src)
new OdGeSurfaceCurve2dTo3d transformBy(OdGeMatrix3d xfm)
OdGeSurfaceCurve2dTo3d(OdGeCurve2d pUvCurve, OdGeSurface pSurface, OdGeSurfaceCurve2dTo3d.OwnershipFlag ownership)
new OdGeSurfaceCurve2dTo3d mirror(OdGePlane plane)
new OdGeSurfaceCurve2dTo3d rotateBy(double angle, OdGeVector3d vect)
new OdGeSurfaceCurve2dTo3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
static HandleRef getCPtr(OdGeSurfaceCurve2dTo3d obj)
static HandleRef getCPtr(OdGeVector3d obj)