Skip to content

Commit 3226c3b

Browse files
authored
Merge pull request #1334 from tpaviot/review/fix-1277
Review/fix 1277
2 parents becb0e3 + 53a76fb commit 3226c3b

36 files changed

+335
-119
lines changed

src/SWIG_files/wrapper/AppCont.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Description
294294
-----------
295295
No available documentation.
296296
") Value;
297-
const AppParCurves_MultiCurve & Value();
297+
AppParCurves_MultiCurve Value();
298298

299299
};
300300

src/SWIG_files/wrapper/AppDef.i

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ Description
595595
-----------
596596
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
597597
") BSplineValue;
598-
const AppParCurves_MultiBSpCurve & BSplineValue();
598+
AppParCurves_MultiBSpCurve BSplineValue();
599599

600600
/****************** BezierValue ******************/
601601
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -1256,7 +1256,7 @@ Description
12561256
-----------
12571257
Returns the result of the approximation.
12581258
") Value;
1259-
const AppParCurves_MultiBSpCurve & Value();
1259+
AppParCurves_MultiBSpCurve Value();
12601260

12611261
};
12621262

@@ -1592,7 +1592,7 @@ Description
15921592
-----------
15931593
Returns the result of the approximation.
15941594
") SplineValue;
1595-
const AppParCurves_MultiBSpCurve & SplineValue();
1595+
AppParCurves_MultiBSpCurve SplineValue();
15961596

15971597
/****************** Value ******************/
15981598
/**** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ****/
@@ -1610,7 +1610,7 @@ Description
16101610
-----------
16111611
Returns the result of the approximation.
16121612
") Value;
1613-
const AppParCurves_MultiCurve & Value(const Standard_Integer Index = 1);
1613+
AppParCurves_MultiCurve Value(const Standard_Integer Index = 1);
16141614

16151615
};
16161616

@@ -3155,7 +3155,7 @@ Description
31553155
-----------
31563156
Returns the multicurve approximating the set after computing the value f or grad(f).
31573157
") CurveValue;
3158-
const AppParCurves_MultiCurve & CurveValue();
3158+
AppParCurves_MultiCurve CurveValue();
31593159

31603160
/****************** Error ******************/
31613161
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -3370,7 +3370,7 @@ Description
33703370
-----------
33713371
Returns the multicurve approximating the set after computing the value f or grad(f).
33723372
") CurveValue;
3373-
const AppParCurves_MultiCurve & CurveValue();
3373+
AppParCurves_MultiCurve CurveValue();
33743374

33753375
/****************** Error ******************/
33763376
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -3585,7 +3585,7 @@ Description
35853585
-----------
35863586
Returns the multicurve approximating the set after computing the value f or grad(f).
35873587
") CurveValue;
3588-
const AppParCurves_MultiCurve & CurveValue();
3588+
AppParCurves_MultiCurve CurveValue();
35893589

35903590
/****************** Error ******************/
35913591
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -3875,7 +3875,7 @@ Description
38753875
-----------
38763876
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
38773877
") BSplineValue;
3878-
const AppParCurves_MultiBSpCurve & BSplineValue();
3878+
AppParCurves_MultiBSpCurve BSplineValue();
38793879

38803880
/****************** BezierValue ******************/
38813881
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -4253,7 +4253,7 @@ Description
42534253
-----------
42544254
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
42554255
") BSplineValue;
4256-
const AppParCurves_MultiBSpCurve & BSplineValue();
4256+
AppParCurves_MultiBSpCurve BSplineValue();
42574257

42584258
/****************** BezierValue ******************/
42594259
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -4631,7 +4631,7 @@ Description
46314631
-----------
46324632
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
46334633
") BSplineValue;
4634-
const AppParCurves_MultiBSpCurve & BSplineValue();
4634+
AppParCurves_MultiBSpCurve BSplineValue();
46354635

46364636
/****************** BezierValue ******************/
46374637
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -5590,7 +5590,7 @@ Description
55905590
-----------
55915591
Returns the multicurve approximating the set after computing the value f or grad(f).
55925592
") CurveValue;
5593-
const AppParCurves_MultiCurve & CurveValue();
5593+
AppParCurves_MultiCurve CurveValue();
55945594

55955595
/****************** Error ******************/
55965596
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -6003,7 +6003,7 @@ Description
60036003
-----------
60046004
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
60056005
") BSplineValue;
6006-
const AppParCurves_MultiBSpCurve & BSplineValue();
6006+
AppParCurves_MultiBSpCurve BSplineValue();
60076007

60086008
/****************** BezierValue ******************/
60096009
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/

src/SWIG_files/wrapper/AppParCurves.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ Description
861861
-----------
862862
Returns the index multipoint. an exception is raised if index <0 or index >degree+1.
863863
") Value;
864-
const AppParCurves_MultiPoint & Value(const Standard_Integer Index);
864+
AppParCurves_MultiPoint Value(const Standard_Integer Index);
865865

866866
/****************** Value ******************/
867867
/**** md5 signature: 36d681f12c55158bec87d7926565a2ae ****/

src/SWIG_files/wrapper/Approx.i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ Description
17421742
-----------
17431743
Return the composite multicurves as a multibspcurve.
17441744
") ChangeValue;
1745-
const AppParCurves_MultiBSpCurve & ChangeValue();
1745+
AppParCurves_MultiBSpCurve ChangeValue();
17461746

17471747
/****************** Perform ******************/
17481748
/**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/
@@ -1799,7 +1799,7 @@ Description
17991799
-----------
18001800
Return the composite multicurves as a multibspcurve.
18011801
") Value;
1802-
const AppParCurves_MultiBSpCurve & Value();
1802+
AppParCurves_MultiBSpCurve Value();
18031803

18041804
};
18051805

src/SWIG_files/wrapper/BOPDS.i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ Description
964964
-----------
965965
Selector returns the curve.
966966
") Curve;
967-
const IntTools_Curve & Curve();
967+
IntTools_Curve Curve();
968968

969969
/****************** HasEdge ******************/
970970
/**** md5 signature: b29d7c6fb0d75a5501e02d3f7002ad41 ****/
@@ -4877,7 +4877,7 @@ Description
48774877
-----------
48784878
/** * selector * returns the intersection curves * return * intersection curves */.
48794879
") Curves;
4880-
const BOPDS_VectorOfCurve & Curves();
4880+
BOPDS_VectorOfCurve Curves();
48814881

48824882
/****************** Init ******************/
48834883
/**** md5 signature: 4ef383c666596f906f9ce4d66071677d ****/

src/SWIG_files/wrapper/BRep.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,7 @@ Description
21882188
-----------
21892189
No available documentation.
21902190
") Curves;
2191-
const BRep_ListOfCurveRepresentation & Curves();
2191+
BRep_ListOfCurveRepresentation Curves();
21922192

21932193
/****************** Degenerated ******************/
21942194
/**** md5 signature: ecd3f4abf547c73285489df59f09d893 ****/

src/SWIG_files/wrapper/BRepAdaptor.i

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ https://dev.opencascade.org/doc/occt-7.7.0/refman/html/package_brepadaptor.html"
4949
#include<gp_module.hxx>
5050
#include<GeomAbs_module.hxx>
5151
#include<TColStd_module.hxx>
52-
#include<GeomAdaptor_module.hxx>
5352
#include<Geom2dAdaptor_module.hxx>
5453
#include<Adaptor2d_module.hxx>
54+
#include<GeomAdaptor_module.hxx>
5555
#include<TopLoc_module.hxx>
5656
#include<Geom2d_module.hxx>
5757
#include<Message_module.hxx>
@@ -69,9 +69,9 @@ https://dev.opencascade.org/doc/occt-7.7.0/refman/html/package_brepadaptor.html"
6969
%import gp.i
7070
%import GeomAbs.i
7171
%import TColStd.i
72-
%import GeomAdaptor.i
7372
%import Geom2dAdaptor.i
7473
%import Adaptor2d.i
74+
%import GeomAdaptor.i
7575

7676
%pythoncode {
7777
from enum import IntEnum
@@ -838,7 +838,7 @@ Description
838838
-----------
839839
Returns the curve of the edge.
840840
") Curve;
841-
const GeomAdaptor_Curve & Curve();
841+
GeomAdaptor_Curve Curve();
842842

843843
/****************** CurveOnSurface ******************/
844844
/**** md5 signature: f06c54ea203f128f90114fb7bd684518 ****/
@@ -851,7 +851,7 @@ Description
851851
-----------
852852
Returns the curveonsurface of the edge.
853853
") CurveOnSurface;
854-
const Adaptor3d_CurveOnSurface & CurveOnSurface();
854+
Adaptor3d_CurveOnSurface CurveOnSurface();
855855

856856
/****************** D0 ******************/
857857
/**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/
@@ -2084,7 +2084,7 @@ Description
20842084
-----------
20852085
Returns the surface.
20862086
") Surface;
2087-
const GeomAdaptor_Surface & Surface();
2087+
GeomAdaptor_Surface Surface();
20882088

20892089
/****************** Tolerance ******************/
20902090
/**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/

src/SWIG_files/wrapper/BRepAdaptor.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ from OCC.Core.Geom import *
99
from OCC.Core.gp import *
1010
from OCC.Core.GeomAbs import *
1111
from OCC.Core.TColStd import *
12-
from OCC.Core.GeomAdaptor import *
1312
from OCC.Core.Geom2dAdaptor import *
1413
from OCC.Core.Adaptor2d import *
14+
from OCC.Core.GeomAdaptor import *
1515

1616

1717
class BRepAdaptor_Array1OfCurve:

src/SWIG_files/wrapper/BRepApprox.i

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ https://dev.opencascade.org/doc/occt-7.7.0/refman/html/package_brepapprox.html"
4545
#include<NCollection_module.hxx>
4646
#include<Approx_module.hxx>
4747
#include<math_module.hxx>
48-
#include<AppParCurves_module.hxx>
4948
#include<Geom_module.hxx>
5049
#include<Geom2d_module.hxx>
5150
#include<IntSurf_module.hxx>
51+
#include<AppParCurves_module.hxx>
5252
#include<TColStd_module.hxx>
5353
#include<BRepAdaptor_module.hxx>
5454
#include<gp_module.hxx>
@@ -76,10 +76,10 @@ https://dev.opencascade.org/doc/occt-7.7.0/refman/html/package_brepapprox.html"
7676
%import NCollection.i
7777
%import Approx.i
7878
%import math.i
79-
%import AppParCurves.i
8079
%import Geom.i
8180
%import Geom2d.i
8281
%import IntSurf.i
82+
%import AppParCurves.i
8383
%import TColStd.i
8484
%import BRepAdaptor.i
8585
%import gp.i
@@ -246,7 +246,7 @@ Description
246246
-----------
247247
No available documentation.
248248
") Value;
249-
const AppParCurves_MultiBSpCurve & Value(const Standard_Integer Index);
249+
AppParCurves_MultiBSpCurve Value(const Standard_Integer Index);
250250

251251
};
252252

@@ -808,7 +808,7 @@ Description
808808
-----------
809809
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
810810
") BSplineValue;
811-
const AppParCurves_MultiBSpCurve & BSplineValue();
811+
AppParCurves_MultiBSpCurve BSplineValue();
812812

813813
/****************** BezierValue ******************/
814814
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -1622,7 +1622,7 @@ Description
16221622
-----------
16231623
Returns the multicurve approximating the set after computing the value f or grad(f).
16241624
") CurveValue;
1625-
const AppParCurves_MultiCurve & CurveValue();
1625+
AppParCurves_MultiCurve CurveValue();
16261626

16271627
/****************** Error ******************/
16281628
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -1837,7 +1837,7 @@ Description
18371837
-----------
18381838
Returns the multicurve approximating the set after computing the value f or grad(f).
18391839
") CurveValue;
1840-
const AppParCurves_MultiCurve & CurveValue();
1840+
AppParCurves_MultiCurve CurveValue();
18411841

18421842
/****************** Error ******************/
18431843
/**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/
@@ -2127,7 +2127,7 @@ Description
21272127
-----------
21282128
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
21292129
") BSplineValue;
2130-
const AppParCurves_MultiBSpCurve & BSplineValue();
2130+
AppParCurves_MultiBSpCurve BSplineValue();
21312131

21322132
/****************** BezierValue ******************/
21332133
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -2505,7 +2505,7 @@ Description
25052505
-----------
25062506
Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone.
25072507
") BSplineValue;
2508-
const AppParCurves_MultiBSpCurve & BSplineValue();
2508+
AppParCurves_MultiBSpCurve BSplineValue();
25092509

25102510
/****************** BezierValue ******************/
25112511
/**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/
@@ -4094,7 +4094,7 @@ Description
40944094
-----------
40954095
Returns the result of the approximation.
40964096
") SplineValue;
4097-
const AppParCurves_MultiBSpCurve & SplineValue();
4097+
AppParCurves_MultiBSpCurve SplineValue();
40984098

40994099
/****************** Value ******************/
41004100
/**** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ****/
@@ -4112,7 +4112,7 @@ Description
41124112
-----------
41134113
Returns the result of the approximation.
41144114
") Value;
4115-
const AppParCurves_MultiCurve & Value(const Standard_Integer Index = 1);
4115+
AppParCurves_MultiCurve Value(const Standard_Integer Index = 1);
41164116

41174117
};
41184118

@@ -4520,7 +4520,7 @@ Description
45204520
-----------
45214521
Returns the result of the approximation.
45224522
") Value;
4523-
const AppParCurves_MultiBSpCurve & Value();
4523+
AppParCurves_MultiBSpCurve Value();
45244524

45254525
};
45264526

@@ -4566,7 +4566,7 @@ Description
45664566
-----------
45674567
No available documentation.
45684568
") AuxillarSurface1;
4569-
const BRepAdaptor_Surface & AuxillarSurface1();
4569+
BRepAdaptor_Surface AuxillarSurface1();
45704570

45714571
/****************** AuxillarSurface2 ******************/
45724572
/**** md5 signature: 6195097157048ebf7856e69ebf2099cb ****/
@@ -4579,7 +4579,7 @@ Description
45794579
-----------
45804580
No available documentation.
45814581
") AuxillarSurface2;
4582-
const BRepAdaptor_Surface & AuxillarSurface2();
4582+
BRepAdaptor_Surface AuxillarSurface2();
45834583

45844584
/****************** ComputeParameters ******************/
45854585
/**** md5 signature: 5686d6c4ca7c470ce5a820727bd25544 ****/
@@ -6189,7 +6189,7 @@ Description
61896189
-----------
61906190
No available documentation.
61916191
") PSurface;
6192-
const BRepAdaptor_Surface & PSurface();
6192+
BRepAdaptor_Surface PSurface();
61936193

61946194
/****************** Point ******************/
61956195
/**** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ****/

src/SWIG_files/wrapper/BRepApprox.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ from OCC.Core.Standard import *
55
from OCC.Core.NCollection import *
66
from OCC.Core.Approx import *
77
from OCC.Core.math import *
8-
from OCC.Core.AppParCurves import *
98
from OCC.Core.Geom import *
109
from OCC.Core.Geom2d import *
1110
from OCC.Core.IntSurf import *
11+
from OCC.Core.AppParCurves import *
1212
from OCC.Core.TColStd import *
1313
from OCC.Core.BRepAdaptor import *
1414
from OCC.Core.gp import *

0 commit comments

Comments
 (0)