1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0027234: Code duplication: Convert_CompBezierCurvesToBSplineCurve* in ShapeConstruct

Classes from ShapeConstruct duplicating the ones from Convert package are removed.
Protection against joining segments when degree is 1 is introduced in Convert classes.
Optimization previously made in Convert_CompBezierCurvesToBSplineCurve class (within #25256) is applied to 2d equivalent.

Data for automatic upgrade procedure are extended to replace removed classes by their duplicates from Convert.

// cout disabled unless OCCT_DEBUG is defined
This commit is contained in:
abv
2016-03-08 19:39:15 +03:00
committed by bugmaster
parent 02fd709bbb
commit 9a9a3edfd8
8 changed files with 23 additions and 724 deletions

View File

@@ -1,9 +1,5 @@
ShapeConstruct.cxx
ShapeConstruct.hxx
ShapeConstruct_CompBezierCurves2dToBSplineCurve2d.cxx
ShapeConstruct_CompBezierCurves2dToBSplineCurve2d.hxx
ShapeConstruct_CompBezierCurvesToBSplineCurve.cxx
ShapeConstruct_CompBezierCurvesToBSplineCurve.hxx
ShapeConstruct_Curve.cxx
ShapeConstruct_Curve.hxx
ShapeConstruct_MakeTriangulation.cxx