Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeSurfSurfInt.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 OdGeSurfSurfInt(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSurfSurfInt_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSurfSurfInt 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 OdGeSurfSurfInt() : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_0(), true) {
44 }
45
46 public OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2, OdGeTol tol) : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_1(OdGeSurface.getCPtr(srf1), OdGeSurface.getCPtr(srf2), OdGeTol.getCPtr(tol)), true) {
48 }
49
50 public OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2) : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_2(OdGeSurface.getCPtr(srf1), OdGeSurface.getCPtr(srf2)), true) {
52 }
53
54 public OdGeSurfSurfInt(OdGeSurfSurfInt source) : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_3(OdGeSurfSurfInt.getCPtr(source)), true) {
56 }
57
59 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfSurfInt_surface1(swigCPtr), false);
60
62 return ret;
63}
64
66 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfSurfInt_surface2(swigCPtr), false);
67
69 return ret;
70}
71
72 public OdGeTol tolerance() {
75 return ret;
76 }
77
78 public int numResults(ref OdGe.OdGeIntersectError status) {
79 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numResults(swigCPtr, ref status);
81 return ret;
82 }
83
84 public int numIntPoints(ref OdGe.OdGeIntersectError status) {
85 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numIntPoints(swigCPtr, ref status);
87 return ret;
88 }
89
90 public OdGeCurve3d intCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status) {
91 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurfSurfInt_intCurve(swigCPtr, intNum, isExternal, ref status), false);
92
94 return ret;
95}
96
97 public OdGeCurve2d intParamCurve(int intNum, bool isExternal, bool isFirst, ref OdGe.OdGeIntersectError status) {
98 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeSurfSurfInt_intParamCurve(swigCPtr, intNum, isExternal, isFirst, ref status), false);
99
101 return ret;
102}
103
104 public OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status) {
105 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSurfSurfInt_intPoint(swigCPtr, intNum, ref status), true);
107 return ret;
108 }
109
110 public void getIntPointParams(int intNum, OdGePoint2d param1, OdGePoint2d param2, ref OdGe.OdGeIntersectError status) {
111 GlobalsPINVOKE.OdGeSurfSurfInt_getIntPointParams(swigCPtr, intNum, OdGePoint2d.getCPtr(param1), OdGePoint2d.getCPtr(param2), ref status);
113 }
114
115 public void getIntConfigs(int intNum, ref OdGe.ssiConfig surf1Left, ref OdGe.ssiConfig surf1Right, ref OdGe.ssiConfig surf2Left, ref OdGe.ssiConfig surf2Right, ref OdGe.ssiType intType, out int dim, ref OdGe.OdGeIntersectError status) {
116 GlobalsPINVOKE.OdGeSurfSurfInt_getIntConfigs(swigCPtr, intNum, ref surf1Left, ref surf1Right, ref surf2Left, ref surf2Right, ref intType, out dim, ref status);
118 }
119
120 public int numIntCurves(ref OdGe.OdGeIntersectError status) {
121 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numIntCurves(swigCPtr, ref status);
123 return ret;
124 }
125
126 public int getDimension(int intNum, ref OdGe.OdGeIntersectError status) {
127 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_getDimension(swigCPtr, intNum, ref status);
129 return ret;
130 }
131
132 public OdGe.ssiType getType(int intNum, ref OdGe.OdGeIntersectError status) {
133 OdGe.ssiType ret = (OdGe.ssiType)GlobalsPINVOKE.OdGeSurfSurfInt_getType(swigCPtr, intNum, ref status);
135 return ret;
136 }
137
138 public bool haveOverlap(ref OdGe.OdGeIntersectError status) {
139 bool ret = GlobalsPINVOKE.OdGeSurfSurfInt_haveOverlap(swigCPtr, ref status);
141 return ret;
142 }
143
144 public OdGeSurfSurfInt set(OdGeSurface srf1, OdGeSurface srf2, OdGeTol tol) {
147 return ret;
148 }
149
150 public OdGeSurfSurfInt set(OdGeSurface srf1, OdGeSurface srf2) {
153 return ret;
154 }
155
159 return ret;
160 }
161
166 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
167
168}
169
170}
static global::System.Exception Retrieve()
static IntPtr OdGeSurfSurfInt_intParamCurve(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3, bool jarg4, ref OdGe.OdGeIntersectError jarg5)
static global::System.IntPtr OdGeSurfSurfInt_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurfSurfInt_intPoint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
static void OdGeSurfSurfInt_getIntPointParams(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref OdGe.OdGeIntersectError jarg5)
static global::System.IntPtr OdGeSurfSurfInt_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdGeSurfSurfInt_numResults(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static IntPtr OdGeSurfSurfInt_surface1(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGeSurfSurfInt_intCurve(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3, ref OdGe.OdGeIntersectError jarg4)
static int OdGeSurfSurfInt_numIntCurves(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static IntPtr OdGeSurfSurfInt_surface2(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeSurfSurfInt_getType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
static global::System.IntPtr OdGeSurfSurfInt_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static global::System.IntPtr OdGeSurfSurfInt_tolerance(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSurfSurfInt_haveOverlap(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static void delete_OdGeSurfSurfInt(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeSurfSurfInt_getIntConfigs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.ssiConfig jarg3, ref OdGe.ssiConfig jarg4, ref OdGe.ssiConfig jarg5, ref OdGe.ssiConfig jarg6, ref OdGe.ssiType jarg7, out int jarg8, ref OdGe.OdGeIntersectError jarg9)
static int OdGeSurfSurfInt_numIntPoints(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static int OdGeSurfSurfInt_getDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status)
override void Dispose(bool disposing)
Teigha.Core.OdGe.EntityId vb_type()
OdGeCurve3d intCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status)
int getDimension(int intNum, ref OdGe.OdGeIntersectError status)
OdGe.ssiType getType(int intNum, ref OdGe.OdGeIntersectError status)
OdGeSurfSurfInt(OdGeSurfSurfInt source)
int numIntCurves(ref OdGe.OdGeIntersectError status)
OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2)
OdGeSurfSurfInt(IntPtr cPtr, bool cMemoryOwn)
OdGeCurve2d intParamCurve(int intNum, bool isExternal, bool isFirst, ref OdGe.OdGeIntersectError status)
bool haveOverlap(ref OdGe.OdGeIntersectError status)
void getIntConfigs(int intNum, ref OdGe.ssiConfig surf1Left, ref OdGe.ssiConfig surf1Right, ref OdGe.ssiConfig surf2Left, ref OdGe.ssiConfig surf2Right, ref OdGe.ssiType intType, out int dim, ref OdGe.OdGeIntersectError status)
void getIntPointParams(int intNum, OdGePoint2d param1, OdGePoint2d param2, ref OdGe.OdGeIntersectError status)
OdGeSurfSurfInt Assign(OdGeSurfSurfInt surfSurfInt)
static HandleRef getCPtr(OdGeSurfSurfInt obj)
OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2, OdGeTol tol)
int numResults(ref OdGe.OdGeIntersectError status)
int numIntPoints(ref OdGe.OdGeIntersectError status)
static HandleRef getCPtr(OdGeSurface obj)
Definition: OdGeSurface.cs:25
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26