aboutsummaryrefslogtreecommitdiff
path: root/cad/pythonocc-core/files/patch-src_SWIG__files_wrapper_Approx.i
blob: 7fd96836ea5e81dc5d633c57eb20324cf6b7e9b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
--- src/SWIG_files/wrapper/Approx.i.orig	2026-08-04 19:52:44 UTC
+++ src/SWIG_files/wrapper/Approx.i
@@ -153,290 +153,9 @@ typedef NCollection_Sequence<opencascade::handle<TColS
 typedef NCollection_Sequence<opencascade::handle<TColStd_HArray1OfReal>> Approx_SequenceOfHArray1OfReal;
 /* end typedefs declaration */
 
-/***********************************
-* class Approx_BSplineApproxInterp *
-***********************************/
-class Approx_BSplineApproxInterp {
-	public:
-		/****** Approx_BSplineApproxInterp::Approx_BSplineApproxInterp ******/
-		/****** md5 signature: 327aa9c8cae4778ed421f8deffe06de7 ******/
-		%feature("compactdefaultargs") Approx_BSplineApproxInterp;
-		%feature("autodoc", "
-Parameters
-----------
-thePoints: TColgp_Array1OfPnt
-theNbControlPts: int
-theDegree: int (optional, default to 3)
-theContinuousIfClosed: bool (optional, default to false)
+/* Begin remove Class Approx_BSplineApproxInterp */
 
-Return
--------
-None
-
-Description
------------
-Creates a constrained approximation solver. 
-Input parameter: thePoints array of 3D points to fit (1-based indexing) 
-Input parameter: theNbControlPts desired number of control points for the B-spline 
-Input parameter: theDegree degree of the B-spline (default 3) 
-Input parameter: theContinuousIfClosed if true, enforces C2 continuity for closed curves.
-") Approx_BSplineApproxInterp;
-		 Approx_BSplineApproxInterp(const TColgp_Array1OfPnt & thePoints, int theNbControlPts, int theDegree = 3, bool theContinuousIfClosed = false);
-
-		/****** Approx_BSplineApproxInterp::Curve ******/
-		/****** md5 signature: c38eea3d03f43cd4ac9ae236a908e33c ******/
-		%feature("compactdefaultargs") Curve;
-		%feature("autodoc", "Return
--------
-opencascade::handle<Geom_BSplineCurve>
-
-Description
------------
-Returns the resulting B-spline curve.
-") Curve;
-		const opencascade::handle<Geom_BSplineCurve> & Curve();
-
-		/****** Approx_BSplineApproxInterp::InterpolatePoint ******/
-		/****** md5 signature: 88cab115881f613dfba7ed44fe7f3eca ******/
-		%feature("compactdefaultargs") InterpolatePoint;
-		%feature("autodoc", "
-Parameters
-----------
-thePointIndex: int
-theWithKink: bool (optional, default to false)
-
-Return
--------
-None
-
-Description
------------
-Marks a point to be exactly interpolated rather than approximated. 
-Input parameter: thePointIndex 0-based index of the point 
-Input parameter: theWithKink if true, a kink (C0 break) is inserted at this parameter.
-") InterpolatePoint;
-		void InterpolatePoint(int thePointIndex, bool theWithKink = false);
-
-		/****** Approx_BSplineApproxInterp::IsDone ******/
-		/****** md5 signature: 05e29e49040d98b489fbc7af11aabb8e ******/
-		%feature("compactdefaultargs") IsDone;
-		%feature("autodoc", "Return
--------
-bool
-
-Description
------------
-Returns true if the fit was successfully computed.
-") IsDone;
-		bool IsDone();
-
-		/****** Approx_BSplineApproxInterp::MaxError ******/
-		/****** md5 signature: 48ec91e4ff08cef7b377cac5e0e8d40a ******/
-		%feature("compactdefaultargs") MaxError;
-		%feature("autodoc", "Return
--------
-double
-
-Description
------------
-Returns the maximum approximation error (distance at approximated points).
-") MaxError;
-		double MaxError();
-
-		/****** Approx_BSplineApproxInterp::Perform ******/
-		/****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/
-		%feature("compactdefaultargs") Perform;
-		%feature("autodoc", "Return
--------
-None
-
-Description
------------
-Performs the fit using automatically computed parameters. Parameters are computed from input points using current parametrization alpha.
-") Perform;
-		void Perform();
-
-		/****** Approx_BSplineApproxInterp::Perform ******/
-		/****** md5 signature: edd8da24abbeab549db6739ff7d86cac ******/
-		%feature("compactdefaultargs") Perform;
-		%feature("autodoc", "
-Parameters
-----------
-theParams: TColStd_Array1OfReal
-
-Return
--------
-None
-
-Description
------------
-Performs the fit with given parameters. 
-Input parameter: theParams parameter values for each point (size must match point count).
-") Perform;
-		void Perform(const TColStd_Array1OfReal & theParams);
-
-		/****** Approx_BSplineApproxInterp::PerformOptimal ******/
-		/****** md5 signature: 9208ad1faca7f61290cf24b3e701c16d ******/
-		%feature("compactdefaultargs") PerformOptimal;
-		%feature("autodoc", "
-Parameters
-----------
-theMaxIter: int
-
-Return
--------
-None
-
-Description
------------
-Performs the fit with iterative parameter optimization using automatically computed initial parameters. 
-Input parameter: theMaxIter maximum number of optimization iterations.
-") PerformOptimal;
-		void PerformOptimal(int theMaxIter);
-
-		/****** Approx_BSplineApproxInterp::PerformOptimal ******/
-		/****** md5 signature: 39ed52935923f49d5478c48507e4540a ******/
-		%feature("compactdefaultargs") PerformOptimal;
-		%feature("autodoc", "
-Parameters
-----------
-theParams: TColStd_Array1OfReal
-theMaxIter: int
-
-Return
--------
-None
-
-Description
------------
-Performs the fit with iterative parameter optimization. Parameters of approximated points are re-projected onto the curve after each iteration to improve the fit. 
-Input parameter: theParams initial parameter values 
-Input parameter: theMaxIter maximum number of optimization iterations.
-") PerformOptimal;
-		void PerformOptimal(const TColStd_Array1OfReal & theParams, int theMaxIter);
-
-		/****** Approx_BSplineApproxInterp::SetClosedTolerance ******/
-		/****** md5 signature: c8a4c45fa8db6f2cf7a3064333529aef ******/
-		%feature("compactdefaultargs") SetClosedTolerance;
-		%feature("autodoc", "
-Parameters
-----------
-theRelTol: double
-
-Return
--------
-None
-
-Description
------------
-Sets the relative tolerance for detecting closed curves. Closedness is detected when first/last points are within theRelTol * (bounding box diagonal). 
-Input parameter: theRelTol relative tolerance (default 1e-12).
-") SetClosedTolerance;
-		void SetClosedTolerance(double theRelTol);
-
-		/****** Approx_BSplineApproxInterp::SetConvergenceTolerance ******/
-		/****** md5 signature: 32dd19fe3bd8a68a10704dfeaf23af3f ******/
-		%feature("compactdefaultargs") SetConvergenceTolerance;
-		%feature("autodoc", "
-Parameters
-----------
-theTol: double
-
-Return
--------
-None
-
-Description
------------
-Sets the convergence tolerance for parameter optimization. Optimization stops when relative error reduction falls below this value. 
-Input parameter: theTol convergence tolerance (default 1e-3).
-") SetConvergenceTolerance;
-		void SetConvergenceTolerance(double theTol);
-
-		/****** Approx_BSplineApproxInterp::SetKnotInsertionTolerance ******/
-		/****** md5 signature: fba00dbe4b829b430f2eca8881356d4f ******/
-		%feature("compactdefaultargs") SetKnotInsertionTolerance;
-		%feature("autodoc", "
-Parameters
-----------
-theTol: double
-
-Return
--------
-None
-
-Description
------------
-Sets the tolerance for detecting duplicate knot positions during insertion. 
-Input parameter: theTol knot matching tolerance (default 1e-4).
-") SetKnotInsertionTolerance;
-		void SetKnotInsertionTolerance(double theTol);
-
-		/****** Approx_BSplineApproxInterp::SetMinPivot ******/
-		/****** md5 signature: 76d4a0e19014e897215028588328ad63 ******/
-		%feature("compactdefaultargs") SetMinPivot;
-		%feature("autodoc", "
-Parameters
-----------
-theMinPivot: double
-
-Return
--------
-None
-
-Description
------------
-Sets the minimum pivot value for the Gauss solver. Matrices with pivots below this threshold are treated as singular. 
-Input parameter: theMinPivot minimum pivot threshold (default 1e-20).
-") SetMinPivot;
-		void SetMinPivot(double theMinPivot);
-
-		/****** Approx_BSplineApproxInterp::SetParametrizationAlpha ******/
-		/****** md5 signature: ac54d445809a59b404b537fce3ccc531 ******/
-		%feature("compactdefaultargs") SetParametrizationAlpha;
-		%feature("autodoc", "
-Parameters
-----------
-theAlpha: double
-
-Return
--------
-None
-
-Description
------------
-Sets the parametrization power for automatic parameter computation. 0.0 = uniform, 0.5 = centripetal (default), 1.0 = chord-length. 
-Input parameter: theAlpha parametrization exponent in [0, 1].
-") SetParametrizationAlpha;
-		void SetParametrizationAlpha(double theAlpha);
-
-		/****** Approx_BSplineApproxInterp::SetProjectionTolerance ******/
-		/****** md5 signature: a2d46914406443eccff22bac9af1d607 ******/
-		%feature("compactdefaultargs") SetProjectionTolerance;
-		%feature("autodoc", "
-Parameters
-----------
-theTol: double
-
-Return
--------
-None
-
-Description
------------
-Sets the tolerance for point projection onto curve during optimization. 
-Input parameter: theTol projection accuracy (default 1e-6).
-") SetProjectionTolerance;
-		void SetProjectionTolerance(double theTol);
-
-};
-
-
-%extend Approx_BSplineApproxInterp {
-	%pythoncode {
-	__repr__ = _dumps_object
-	}
-};
+/*  End remove Class Approx_BSplineApproxInterp  */
 
 /***********************
 * class Approx_Curve2d *