Extended .NET SDK Documentation 2025 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
42 public new OdGeSurface copy() {
43 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_copy(swigCPtr), false);
44
46 return ret;
47}
48
50 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_transformBy(swigCPtr, OdGeMatrix3d.getCPtr(xfm)), false);
51
53 return ret;
54}
55
56 public new OdGeSurface translateBy(OdGeVector3d translateVec) {
57 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_translateBy(swigCPtr, OdGeVector3d.getCPtr(translateVec)), false);
58
60 return ret;
61}
62
63 public new OdGeSurface rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_rotateBy__SWIG_0(swigCPtr, angle, OdGeVector3d.getCPtr(vect), OdGePoint3d.getCPtr(basePoint)), false);
65
67 return ret;
68}
69
70 public new OdGeSurface rotateBy(double angle, OdGeVector3d vect) {
71 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_rotateBy__SWIG_1(swigCPtr, angle, OdGeVector3d.getCPtr(vect)), false);
72
74 return ret;
75}
76
77 public new OdGeSurface mirror(OdGePlane plane) {
78 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_mirror(swigCPtr, OdGePlane.getCPtr(plane)), false);
79
81 return ret;
82}
83
84 public new OdGeSurface scaleBy(double scaleFactor, OdGePoint3d basePoint) {
85 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
86
88 return ret;
89}
90
91 public new OdGeSurface scaleBy(double scaleFactor) {
92 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
93
95 return ret;
96}
97
103
109
115
121
122 public bool isOn(OdGePoint3d point, OdGePoint2d paramPoint, OdGeTol tol) {
123 bool ret = GlobalsPINVOKE.OdGeSurface_isOn__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(point), OdGePoint2d.getCPtr(paramPoint), OdGeTol.getCPtr(tol));
125 return ret;
126 }
127
128 public bool isOn(OdGePoint3d point, OdGePoint2d paramPoint) {
129 bool ret = GlobalsPINVOKE.OdGeSurface_isOn__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(point), OdGePoint2d.getCPtr(paramPoint));
131 return ret;
132 }
133
139
145
151
157
162
167
173
179
185
186 public bool isLeftHanded() {
187 bool ret = GlobalsPINVOKE.OdGeSurface_isLeftHanded(swigCPtr);
189 return ret;
190 }
191
193 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_reverseNormal(swigCPtr), false);
194
196 return ret;
197}
198
203
208
214
220
226
232
238
239 public OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives) {
240 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeSurface_evalPoint__SWIG_1(swigCPtr, OdGePoint2d.getCPtr(param), numDeriv, OdGeVector3dArray.getCPtr(derivatives)), true);
242 return ret;
243 }
244
245 public OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives, OdGeVector3d normal) {
248 return ret;
249 }
250
252 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeSurface_Assign(swigCPtr, OdGeSurface.getCPtr(surf)), false);
253
255 return ret;
256}
257
263
269
275
281
287
288 public bool setEnvelope(OdGeInterval realIntrvlU, OdGeInterval realIntrvlV) {
289 bool ret = GlobalsPINVOKE.OdGeSurface_setEnvelope(swigCPtr, OdGeInterval.getCPtr(realIntrvlU), OdGeInterval.getCPtr(realIntrvlV));
291 return ret;
292 }
293
294 public OdGeCurve3d makeIsoparamCurve(bool byU, double param) {
295 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurface_makeIsoparamCurve__SWIG_0(swigCPtr, byU, param), false);
296
298 return ret;
299}
300
301 public OdGeCurve3d makeIsoparamCurve(bool byU, double param, OdGeInterval interval) {
302 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeSurface_makeIsoparamCurve__SWIG_1(swigCPtr, byU, param, OdGeInterval.getCPtr(interval)), false);
303
305 return ret;
306}
307
308 public bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints, double tol) {
311 return ret;
312 }
313
319
320 protected static string getRealClassName(IntPtr ptr) {
321 string ret = GlobalsPINVOKE.OdGeSurface_getRealClassName(ptr /*SIMPLETYPE*/);
323 return ret;
324 }
325
330 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
331
332}
333
334}
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 IntPtr OdGeSurface_scaleBy__SWIG_1(HandleRef jarg1, double jarg2)
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 IntPtr OdGeSurface_translateBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 IntPtr OdGeSurface_mirror(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeSurface_scaleBy__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 IntPtr OdGeSurface_transformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 IntPtr OdGeSurface_rotateBy__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdGeSurface_rotateBy__SWIG_1(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 IntPtr OdGeSurface_copy(HandleRef 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)
static HandleRef getCPtr(OdGeInterval obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGePointOnSurface obj)
double distanceTo(OdGePoint3d point)
Teigha.Core.OdGe.EntityId vb_type()
bool isClosedInV(OdGeTol tol)
new OdGeSurface rotateBy(double angle, OdGeVector3d vect)
bool setEnvelope(OdGeInterval realIntrvlU, OdGeInterval realIntrvlV)
OdGeExtents3d getGeomExtents()
bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints)
new OdGeSurface scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGePoint3d closestPointTo(OdGePoint3d point, OdGePoint2d param, OdGeUvBox uvBox)
OdGePoint2d paramOf(OdGePoint3d point, OdGeTol tol)
OdGeCurve3d makeIsoparamCurve(bool byU, double param, OdGeInterval interval)
OdGePoint2d paramOf(OdGePoint3d point, OdGeUvBox uvBox, OdGeTol tol)
OdGeExtents3d getGeomExtents(OdGeUvBox range)
OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives, OdGeVector3d normal)
OdGePoint3d evalPoint(OdGePoint2d param)
OdGePoint3d closestPointTo(OdGePoint3d point, OdGePoint2d param, OdGeUvBox uvBox, OdGeTol tol)
OdGeSurface Assign(OdGeSurface surf)
void getEnvelope(OdGeInterval intrvlU, OdGeInterval intrvlV)
void getEnvelope(OdGeUvBox uvbox)
override void Dispose(bool disposing)
OdGePoint2d paramOf(OdGePoint3d point)
new OdGeSurface mirror(OdGePlane plane)
OdGePoint3d closestPointTo(OdGePoint3d point, OdGeTol tol)
OdGePoint3d closestPointTo(OdGePoint3d point)
bool project(OdGePoint3d p, OdGePoint3d projP)
OdGePoint2d paramOf(OdGePoint3d point, OdGeUvBox uvBox)
OdGeExtents3d getGeomExtents(OdGeUvBox range, OdGeMatrix3d coordSystem)
OdGePoint3d evalPoint(OdGePoint2d param, int numDeriv, OdGeVector3dArray derivatives)
new OdGeSurface translateBy(OdGeVector3d translateVec)
bool isClosedInU(OdGeTol tol)
OdGeCurve3d makeIsoparamCurve(bool byU, double param)
void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface)
new OdGeSurface scaleBy(double scaleFactor)
new OdGeSurface transformBy(OdGeMatrix3d xfm)
OdGeSurface reverseNormal()
new OdGeSurface copy()
void getClosestPointTo(OdGePoint3d point, OdGePointOnSurface pntOnSurface, OdGeTol tol)
static HandleRef getCPtr(OdGeSurface obj)
bool isOn(OdGePoint3d point, OdGePoint2d paramPoint)
bool getPoles(OdGeDoubleArray uParams, OdGeDoubleArray vParams, OdGePoint3dArray uPoints, OdGePoint3dArray vPoints, double tol)
new OdGeSurface rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
OdGeSurface(IntPtr cPtr, bool cMemoryOwn)
static string getRealClassName(IntPtr ptr)
bool project(OdGePoint3d p, OdGePoint3d projP, OdGeTol tol)
double distanceTo(OdGePoint3d point, OdGeTol tol)
bool isOn(OdGePoint3d point, OdGePoint2d paramPoint, OdGeTol tol)
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)