Extended .NET SDK Documentation 2025 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 new OdGeSurfSurfInt copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeSurfSurfInt_copy(swigCPtr);
44 OdGeSurfSurfInt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeSurfSurfInt(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeSurfSurfInt scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeSurfSurfInt ret = new OdGeSurfSurfInt(GlobalsPINVOKE.OdGeSurfSurfInt_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeSurfSurfInt scaleBy(double scaleFactor) {
88 return ret;
89 }
90
91 public OdGeSurfSurfInt() : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_0(), true) {
93 }
94
98
99 public OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2) : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_2(OdGeSurface.getCPtr(srf1), OdGeSurface.getCPtr(srf2)), true) {
101 }
102
103 public OdGeSurfSurfInt(OdGeSurfSurfInt source) : this(GlobalsPINVOKE.new_OdGeSurfSurfInt__SWIG_3(OdGeSurfSurfInt.getCPtr(source)), true) {
105 }
106
108 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfSurfInt_surface1(swigCPtr), false);
109
111 return ret;
112}
113
115 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurfSurfInt_surface2(swigCPtr), false);
116
118 return ret;
119}
120
126
127 public int numResults(ref OdGe.OdGeIntersectError status) {
128 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numResults(swigCPtr, ref status);
130 return ret;
131 }
132
133 public int numIntPoints(ref OdGe.OdGeIntersectError status) {
134 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numIntPoints(swigCPtr, ref status);
136 return ret;
137 }
138
139 public OdGeCurve3d intCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status) {
140 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurfSurfInt_intCurve(swigCPtr, intNum, isExternal, ref status), false);
141
143 return ret;
144}
145
146 public OdGeCurve2d intParamCurve(int intNum, bool isExternal, bool isFirst, ref OdGe.OdGeIntersectError status) {
147 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeSurfSurfInt_intParamCurve(swigCPtr, intNum, isExternal, isFirst, ref status), false);
148
150 return ret;
151}
152
153 public OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status) {
154 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSurfSurfInt_intPoint(swigCPtr, intNum, ref status), true);
156 return ret;
157 }
158
163
164 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) {
165 GlobalsPINVOKE.OdGeSurfSurfInt_getIntConfigs(swigCPtr, intNum, ref surf1Left, ref surf1Right, ref surf2Left, ref surf2Right, ref intType, out dim, ref status);
167 }
168
169 public int numIntCurves(ref OdGe.OdGeIntersectError status) {
170 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_numIntCurves(swigCPtr, ref status);
172 return ret;
173 }
174
175 public int getDimension(int intNum, ref OdGe.OdGeIntersectError status) {
176 int ret = GlobalsPINVOKE.OdGeSurfSurfInt_getDimension(swigCPtr, intNum, ref status);
178 return ret;
179 }
180
181 public OdGe.ssiType getType(int intNum, ref OdGe.OdGeIntersectError status) {
182 OdGe.ssiType ret = (OdGe.ssiType)GlobalsPINVOKE.OdGeSurfSurfInt_getType(swigCPtr, intNum, ref status);
184 return ret;
185 }
186
187 public bool haveOverlap(ref OdGe.OdGeIntersectError status) {
188 bool ret = GlobalsPINVOKE.OdGeSurfSurfInt_haveOverlap(swigCPtr, ref status);
190 return ret;
191 }
192
198
204
210
215 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
216
217}
218
219}
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 global::System.IntPtr OdGeSurfSurfInt_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeSurfSurfInt_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 OdGeSurfSurfInt_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurfSurfInt_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
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 global::System.IntPtr OdGeSurfSurfInt_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef 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_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 global::System.IntPtr OdGeSurfSurfInt_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 global::System.IntPtr OdGeSurfSurfInt_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdGeSurfSurfInt_getDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3d obj)
OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status)
override void Dispose(bool disposing)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeSurfSurfInt scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGeCurve3d intCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status)
new OdGeSurfSurfInt scaleBy(double scaleFactor)
int getDimension(int intNum, ref OdGe.OdGeIntersectError status)
new OdGeSurfSurfInt transformBy(OdGeMatrix3d xfm)
OdGe.ssiType getType(int intNum, ref OdGe.OdGeIntersectError status)
OdGeSurfSurfInt(OdGeSurfSurfInt source)
int numIntCurves(ref OdGe.OdGeIntersectError status)
new OdGeSurfSurfInt copy()
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)
new OdGeSurfSurfInt rotateBy(double angle, OdGeVector3d vect)
OdGeSurfSurfInt(OdGeSurface srf1, OdGeSurface srf2, OdGeTol tol)
new OdGeSurfSurfInt rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
int numResults(ref OdGe.OdGeIntersectError status)
int numIntPoints(ref OdGe.OdGeIntersectError status)
new OdGeSurfSurfInt translateBy(OdGeVector3d translateVec)
new OdGeSurfSurfInt mirror(OdGePlane plane)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)