Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeSurface.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
16public class OdGeSurface : OdGeEntity3d {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeSurface(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSurface_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSurface 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
45 return ret;
46 }
47
51 return ret;
52 }
53
54 public OdGePoint2d paramOf(OdGePoint3d point, OdGeUvBox uvBox, OdGeTol tol) {
57 return ret;
58 }
59
63 return ret;
64 }
65
66 public bool isOn(OdGePoint3d point, OdGePoint2d paramPoint, OdGeTol tol) {
67 bool ret = GlobalsPINVOKE.OdGeSurface_isOn__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(point), OdGePoint2d.getCPtr(paramPoint), OdGeTol.getCPtr(tol));
69 return ret;
70 }
71
72 public bool isOn(OdGePoint3d point, OdGePoint2d paramPoint) {
73 bool ret = GlobalsPINVOKE.OdGeSurface_isOn__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(point), OdGePoint2d.getCPtr(paramPoint));
75 return ret;
76 }
77
81 return ret;
82 }
83
87 return ret;
88 }
89
93 return ret;
94 }
95
99 return ret;
100 }
101
102 public void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface, OdGeTol tol) {
105 }
106
107 public void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface) {
110 }
111
112 public double distanceTo(OdGePoint3d point, OdGeTol tol) {
115 return ret;
116 }
117
118 public double distanceTo(OdGePoint3d point) {
121 return ret;
122 }
123
124 public bool isNormalReversed() {
125 bool ret = GlobalsPINVOKE.OdGeSurface_isNormalReversed(swigCPtr);
127 return ret;
128 }
129
130 public bool isLeftHanded() {
131 bool ret = GlobalsPINVOKE.OdGeSurface_isLeftHanded(swigCPtr);
133 return ret;
134 }
135
137 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_reverseNormal(swigCPtr), false);
138
140 return ret;
141}
142
143 public void getEnvelope(OdGeInterval intrvlU, OdGeInterval intrvlV) {
146 }
147
148 public void getEnvelope(OdGeUvBox uvbox) {
151 }
152
153 public bool isClosedInU(OdGeTol tol) {
156 return ret;
157 }
158
159 public bool isClosedInU() {
162 return ret;
163 }
164
165 public bool isClosedInV(OdGeTol tol) {
168 return ret;
169 }
170
171 public bool isClosedInV() {
174 return ret;
175 }
176
180 return ret;
181 }
182
183 public OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives) {
184 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSurface_evalPoint__SWIG_1(swigCPtr, OdGePoint2d.getCPtr(param), numDeriv, OdGeVector3dArray.getCPtr(derivatives)), true);
186 return ret;
187 }
188
189 public OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives, OdGeVector3d normal) {
192 return ret;
193 }
194
196 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_Assign(swigCPtr, OdGeSurface.getCPtr(surf)), false);
197
199 return ret;
200}
201
205 return ret;
206 }
207
211 return ret;
212 }
213
217 return ret;
218 }
219
220 public bool project(OdGePoint3d p, OdGePoint3d projP, OdGeTol tol) {
223 return ret;
224 }
225
226 public bool project(OdGePoint3d p, OdGePoint3d projP) {
229 return ret;
230 }
231
232 public bool setEnvelope(OdGeInterval realIntrvlU, OdGeInterval realIntrvlV) {
233 bool ret = GlobalsPINVOKE.OdGeSurface_setEnvelope(swigCPtr, OdGeInterval.getCPtr(realIntrvlU), OdGeInterval.getCPtr(realIntrvlV));
235 return ret;
236 }
237
238 public OdGeCurve3d makeIsoparamCurve(bool byU, double param) {
239 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurface_makeIsoparamCurve__SWIG_0(swigCPtr, byU, param), false);
240
242 return ret;
243}
244
245 public OdGeCurve3d makeIsoparamCurve(bool byU, double param, OdGeInterval interval) {
246 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurface_makeIsoparamCurve__SWIG_1(swigCPtr, byU, param, OdGeInterval.getCPtr(interval)), false);
247
249 return ret;
250}
251
252 public bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints, double tol) {
255 return ret;
256 }
257
258 public bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints) {
261 return ret;
262 }
263
264 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
265 string ret = GlobalsPINVOKE.OdGeSurface_getRealClassName(ptr /*SIMPLETYPE*/);
267 return ret;
268 }
269
274 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
275
276}
277
278}
static global::System.Exception Retrieve()
static bool OdGeSurface_isOn__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeSurface_evalPoint__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeSurface_getPoles__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static double OdGeSurface_distanceTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeSurface_getClosestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeSurface_isClosedInV__SWIG_1(HandleRef jarg1)
static global::System.IntPtr OdGeSurface_closestPointTo__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeSurface_getGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeSurface_isClosedInV__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeSurface_getPoles__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6)
static void OdGeSurface_getClosestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeSurface_reverseNormal(HandleRef jarg1)
static bool OdGeSurface_isClosedInU__SWIG_1(HandleRef jarg1)
static bool OdGeSurface_isLeftHanded(HandleRef jarg1)
static global::System.IntPtr OdGeSurface_paramOf__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeSurface_setEnvelope(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeSurface_isNormalReversed(HandleRef jarg1)
static IntPtr OdGeSurface_makeIsoparamCurve__SWIG_1(HandleRef jarg1, bool jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeSurface_paramOf__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeSurface_getEnvelope__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurface_closestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeSurface(HandleRef jarg1)
static IntPtr OdGeSurface_Assign(HandleRef jarg1, HandleRef jarg2)
static bool OdGeSurface_isOn__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeSurface_project__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeSurface_getGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeSurface_getEnvelope__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSurface_getGeomExtents__SWIG_2(HandleRef jarg1)
static bool OdGeSurface_isClosedInU__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurface_closestPointTo__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeSurface_evalPoint__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSurface_paramOf__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeSurface_project__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSurface_paramOf__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeSurface_makeIsoparamCurve__SWIG_0(HandleRef jarg1, bool jarg2, double jarg3)
static global::System.IntPtr OdGeSurface_evalPoint__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static string OdGeSurface_getRealClassName(IntPtr jarg1)
static double OdGeSurface_distanceTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSurface_closestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeDoubleArray obj)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeInterval obj)
Definition: OdGeInterval.cs:26
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGePointOnSurface obj)
double distanceTo(OdGePoint3d point)
Definition: OdGeSurface.cs:118
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGeSurface.cs:274
bool isClosedInV(OdGeTol tol)
Definition: OdGeSurface.cs:165
bool setEnvelope(OdGeInterval realIntrvlU, OdGeInterval realIntrvlV)
Definition: OdGeSurface.cs:232
OdGeExtents3d getGeomExtents()
Definition: OdGeSurface.cs:214
bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints)
Definition: OdGeSurface.cs:258
OdGePoint3d closestPointTo(OdGePoint3d point, OdGePoint2d param, OdGeUvBox uvBox)
Definition: OdGeSurface.cs:96
OdGePoint2d paramOf(OdGePoint3d point, OdGeTol tol)
Definition: OdGeSurface.cs:42
OdGeCurve3d makeIsoparamCurve(bool byU, double param, OdGeInterval interval)
Definition: OdGeSurface.cs:245
OdGePoint2d paramOf(OdGePoint3d point, OdGeUvBox uvBox, OdGeTol tol)
Definition: OdGeSurface.cs:54
OdGeExtents3d getGeomExtents(OdGeUvBox range)
Definition: OdGeSurface.cs:208
OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives, OdGeVector3d normal)
Definition: OdGeSurface.cs:189
OdGePoint3d evalPoint(OdGePoint2d param)
Definition: OdGeSurface.cs:177
OdGePoint3d closestPointTo(OdGePoint3d point, OdGePoint2d param, OdGeUvBox uvBox, OdGeTol tol)
Definition: OdGeSurface.cs:90
OdGeSurface Assign(OdGeSurface surf)
Definition: OdGeSurface.cs:195
void getEnvelope(OdGeInterval intrvlU, OdGeInterval intrvlV)
Definition: OdGeSurface.cs:143
void getEnvelope(OdGeUvBox uvbox)
Definition: OdGeSurface.cs:148
override void Dispose(bool disposing)
Definition: OdGeSurface.cs:29
OdGePoint2d paramOf(OdGePoint3d point)
Definition: OdGeSurface.cs:48
OdGePoint3d closestPointTo(OdGePoint3d point, OdGeTol tol)
Definition: OdGeSurface.cs:78
OdGePoint3d closestPointTo(OdGePoint3d point)
Definition: OdGeSurface.cs:84
bool project(OdGePoint3d p, OdGePoint3d projP)
Definition: OdGeSurface.cs:226
OdGePoint2d paramOf(OdGePoint3d point, OdGeUvBox uvBox)
Definition: OdGeSurface.cs:60
OdGeExtents3d getGeomExtents(OdGeUvBox range, OdGeMatrix3d coordSystem)
Definition: OdGeSurface.cs:202
OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives)
Definition: OdGeSurface.cs:183
bool isClosedInU(OdGeTol tol)
Definition: OdGeSurface.cs:153
OdGeCurve3d makeIsoparamCurve(bool byU, double param)
Definition: OdGeSurface.cs:238
void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface)
Definition: OdGeSurface.cs:107
OdGeSurface reverseNormal()
Definition: OdGeSurface.cs:136
void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface, OdGeTol tol)
Definition: OdGeSurface.cs:102
static HandleRef getCPtr(OdGeSurface obj)
Definition: OdGeSurface.cs:25
bool isOn(OdGePoint3d point, OdGePoint2d paramPoint)
Definition: OdGeSurface.cs:72
bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints, double tol)
Definition: OdGeSurface.cs:252
OdGeSurface(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeSurface.cs:20
static string getRealClassName(IntPtr ptr)
Definition: OdGeSurface.cs:264
bool project(OdGePoint3d p, OdGePoint3d projP, OdGeTol tol)
Definition: OdGeSurface.cs:220
double distanceTo(OdGePoint3d point, OdGeTol tol)
Definition: OdGeSurface.cs:112
bool isOn(OdGePoint3d point, OdGePoint2d paramPoint, OdGeTol tol)
Definition: OdGeSurface.cs:66
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeUvBox obj)
Definition: OdGeUvBox.cs:26
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26