Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeCurveSurfInt.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 OdGeCurveSurfInt(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCurveSurfInt_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCurveSurfInt 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 OdGeCurveSurfInt() : this(GlobalsPINVOKE.new_OdGeCurveSurfInt__SWIG_0(), true) {
44 }
45
46 public OdGeCurveSurfInt(OdGeCurve3d curve, OdGeSurface surf, OdGeTol tol) : this(GlobalsPINVOKE.new_OdGeCurveSurfInt__SWIG_1(OdGeCurve3d.getCPtr(curve), OdGeSurface.getCPtr(surf), OdGeTol.getCPtr(tol)), true) {
48 }
49
50 public OdGeCurveSurfInt(OdGeCurve3d curve, OdGeSurface surf) : this(GlobalsPINVOKE.new_OdGeCurveSurfInt__SWIG_2(OdGeCurve3d.getCPtr(curve), OdGeSurface.getCPtr(surf)), true) {
52 }
53
54 public OdGeCurveSurfInt(OdGeCurveSurfInt source) : this(GlobalsPINVOKE.new_OdGeCurveSurfInt__SWIG_3(OdGeCurveSurfInt.getCPtr(source)), true) {
56 }
57
58 public OdGeCurve3d curve() {
59 OdGeCurve3d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), GlobalsPINVOKE.OdGeCurveSurfInt_curve(swigCPtr), false);
60
62 return ret;
63}
64
65 public OdGeSurface surface() {
66 OdGeSurface ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeSurface>(typeof(OdGeSurface), GlobalsPINVOKE.OdGeCurveSurfInt_surface(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.OdGeCurveSurfInt_numResults(swigCPtr, ref status);
81 return ret;
82 }
83
84 public int getDimension(int intNum, ref OdGe.OdGeIntersectError status) {
85 int ret = GlobalsPINVOKE.OdGeCurveSurfInt_getDimension(swigCPtr, intNum, ref status);
87 return ret;
88 }
89
90 public int numIntPoints(ref OdGe.OdGeIntersectError status) {
91 int ret = GlobalsPINVOKE.OdGeCurveSurfInt_numIntPoints(swigCPtr, ref status);
93 return ret;
94 }
95
96 public OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status) {
97 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeCurveSurfInt_intPoint(swigCPtr, intNum, ref status), true);
99 return ret;
100 }
101
102 public void getIntParams(int intNum, out double param1, OdGePoint2d param2, ref OdGe.OdGeIntersectError status) {
103 GlobalsPINVOKE.OdGeCurveSurfInt_getIntParams(swigCPtr, intNum, out param1, OdGePoint2d.getCPtr(param2), ref status);
105 }
106
107 public void getPointOnCurve(int intNum, OdGePointOnCurve3d intPnt, ref OdGe.OdGeIntersectError status) {
108 GlobalsPINVOKE.OdGeCurveSurfInt_getPointOnCurve(swigCPtr, intNum, OdGePointOnCurve3d.getCPtr(intPnt), ref status);
110 }
111
112 public void getPointOnSurface(int intNum, OdGePointOnSurface intPnt, ref OdGe.OdGeIntersectError status) {
115 }
116
117 public void getIntConfigs(int intNum, ref OdGe.csiConfig lower, ref OdGe.csiConfig higher, out bool smallAngle, ref OdGe.OdGeIntersectError status) {
118 GlobalsPINVOKE.OdGeCurveSurfInt_getIntConfigs(swigCPtr, intNum, ref lower, ref higher, out smallAngle, ref status);
120 }
121
122 public int overlapCount(ref OdGe.OdGeIntersectError status) {
123 int ret = GlobalsPINVOKE.OdGeCurveSurfInt_overlapCount(swigCPtr, ref status);
125 return ret;
126 }
127
128 public void getOverlapRange(int intNum, OdGeInterval range, ref OdGe.OdGeIntersectError status) {
129 GlobalsPINVOKE.OdGeCurveSurfInt_getOverlapRange(swigCPtr, intNum, OdGeInterval.getCPtr(range), ref status);
131 }
132
133 public OdGeCurve2d intParamCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status) {
134 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeCurveSurfInt_intParamCurve(swigCPtr, intNum, isExternal, ref status), false);
135
137 return ret;
138}
139
143 return ret;
144 }
145
149 return ret;
150 }
151
155 return ret;
156 }
157
162 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
163
168 public Teigha.Core.OdGeSurface vb_surface() { return this.surface(); }
169
170}
171
172}
static global::System.Exception Retrieve()
static void delete_OdGeCurveSurfInt(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCurveSurfInt_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdGeCurveSurfInt_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCurveSurfInt_getIntParams(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref OdGe.OdGeIntersectError jarg5)
static void OdGeCurveSurfInt_getPointOnSurface(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref OdGe.OdGeIntersectError jarg4)
static IntPtr OdGeCurveSurfInt_intParamCurve(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3, ref OdGe.OdGeIntersectError jarg4)
static void OdGeCurveSurfInt_getOverlapRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref OdGe.OdGeIntersectError jarg4)
static global::System.IntPtr OdGeCurveSurfInt_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static int OdGeCurveSurfInt_getDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
static void OdGeCurveSurfInt_getIntConfigs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.csiConfig jarg3, ref OdGe.csiConfig jarg4, out bool jarg5, ref OdGe.OdGeIntersectError jarg6)
static IntPtr OdGeCurveSurfInt_surface(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeCurveSurfInt_overlapCount(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static void OdGeCurveSurfInt_getPointOnCurve(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref OdGe.OdGeIntersectError jarg4)
static global::System.IntPtr OdGeCurveSurfInt_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeCurveSurfInt_numResults(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static int OdGeCurveSurfInt_numIntPoints(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGe.OdGeIntersectError jarg2)
static global::System.IntPtr OdGeCurveSurfInt_intPoint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref OdGe.OdGeIntersectError jarg3)
static global::System.IntPtr OdGeCurveSurfInt_tolerance(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeCurve3d obj)
Definition: OdGeCurve3d.cs:25
OdGeCurveSurfInt(OdGeCurve3d curve, OdGeSurface surf, OdGeTol tol)
OdGeCurveSurfInt(OdGeCurveSurfInt source)
void getOverlapRange(int intNum, OdGeInterval range, ref OdGe.OdGeIntersectError status)
OdGePoint3d intPoint(int intNum, ref OdGe.OdGeIntersectError status)
OdGeCurveSurfInt Assign(OdGeCurveSurfInt crvSurfInt)
int numIntPoints(ref OdGe.OdGeIntersectError status)
OdGeCurve2d intParamCurve(int intNum, bool isExternal, ref OdGe.OdGeIntersectError status)
int getDimension(int intNum, ref OdGe.OdGeIntersectError status)
OdGeCurveSurfInt(IntPtr cPtr, bool cMemoryOwn)
int numResults(ref OdGe.OdGeIntersectError status)
void getIntParams(int intNum, out double param1, OdGePoint2d param2, ref OdGe.OdGeIntersectError status)
static HandleRef getCPtr(OdGeCurveSurfInt obj)
OdGeCurveSurfInt(OdGeCurve3d curve, OdGeSurface surf)
void getPointOnCurve(int intNum, OdGePointOnCurve3d intPnt, ref OdGe.OdGeIntersectError status)
Teigha.Core.OdGe.EntityId vb_type()
override void Dispose(bool disposing)
void getPointOnSurface(int intNum, OdGePointOnSurface intPnt, ref OdGe.OdGeIntersectError status)
void getIntConfigs(int intNum, ref OdGe.csiConfig lower, ref OdGe.csiConfig higher, out bool smallAngle, ref OdGe.OdGeIntersectError status)
int overlapCount(ref OdGe.OdGeIntersectError status)
Teigha.Core.OdGeSurface vb_surface()
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeInterval obj)
Definition: OdGeInterval.cs:26
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePointOnCurve3d obj)
static HandleRef getCPtr(OdGePointOnSurface obj)
static HandleRef getCPtr(OdGeSurface obj)
Definition: OdGeSurface.cs:25
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26