Extended .NET SDK Documentation 2024 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
42 public OdGeSurfaceCurve2dTo3d() : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_0(), true) {
44 }
45
46 public OdGeSurfaceCurve2dTo3d(OdGeSurfaceCurve2dTo3d source) : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_1(OdGeSurfaceCurve2dTo3d.getCPtr(source)), true) {
48 }
49
50 public OdGeSurfaceCurve2dTo3d(OdGeCurve2d uvc, OdGeSurface surf) : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_2(OdGeCurve2d.getCPtr(uvc), OdGeSurface.getCPtr(surf)), true) {
52 }
53
54 public OdGeSurfaceCurve2dTo3d(OdGeCurve2d pUvCurve, OdGeSurface pSurface, OdGeSurfaceCurve2dTo3d.OwnershipFlag ownership) : this(GlobalsPINVOKE.new_OdGeSurfaceCurve2dTo3d__SWIG_3(OdGeCurve2d.getCPtr(pUvCurve), OdGeSurface.getCPtr(pSurface), (int)ownership), true) {
56 }
57
61 return ret;
62 }
63
64 public OdGeCurve2d curve() {
65 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeSurfaceCurve2dTo3d_curve(swigCPtr), false);
66
68 return ret;
69}
70
71 public OdGeSurface surface() {
72 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfaceCurve2dTo3d_surface(swigCPtr), false);
73
75 return ret;
76}
77
78 public void getGeomExtents(OdGeExtents3d extents) {
81 }
82
87 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
88
93 public Teigha.Core.OdGeSurface vb_surface() { return this.surface(); }
94
95 public enum OwnershipFlag {
96 kCurveCopy = 0x01,
97 kCurveOwn = 0x02,
98 kCurveReference = 0x03,
99 kSurfaceCopy = 0x01 << 2,
100 kSurfaceOwn = 0x02 << 2,
101 kSurfaceReference = 0x03 << 2,
105 kCurveMask = 0x03,
106 kSurfaceMask = 0x03 << 2
107 }
108
109}
110
111}
static global::System.Exception Retrieve()
static IntPtr OdGeSurfaceCurve2dTo3d_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
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_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeExtents3d obj)
OdGeSurfaceCurve2dTo3d(OdGeCurve2d uvc, OdGeSurface surf)
OdGeSurfaceCurve2dTo3d(OdGeSurfaceCurve2dTo3d source)
override void Dispose(bool disposing)
void getGeomExtents(OdGeExtents3d extents)
OdGeSurfaceCurve2dTo3d(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGe.EntityId vb_type()
OdGeSurfaceCurve2dTo3d Assign(OdGeSurfaceCurve2dTo3d src)
OdGeSurfaceCurve2dTo3d(OdGeCurve2d pUvCurve, OdGeSurface pSurface, OdGeSurfaceCurve2dTo3d.OwnershipFlag ownership)
static HandleRef getCPtr(OdGeSurfaceCurve2dTo3d obj)