occt: master fffc249f

Author Committer Branch Timestamp Parent
ifv bugmaster master 2019-05-31 13:36:44 master 739c7e59
Affected Issues  0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear and robust
Changeset 0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear and robust

Approx/Approx_SameParameter.cxx,hxx:
Class Approx_SameParameter refactoring. Logic is changed in many places to unify usage, simplify maintenance.
Method Curve2d() is changed to return Geom2d_Curve instead of Geom2d_BSplineCurve. Corresponding message is added to the upgrade guide.
.lxx file is merged into .hxx.
Tangent computation is extracted into special method.
Comparing number of sample points after CheckSameParameter(...) is added to define cases with projection fails.
Undesirable behavior when curves are not same parameterized is fixed.

Geom2dAdaptor/Geom2dAdaptor.cxx: treatment of offset curve is added

Adaptor3d/Adaptor3d_TopolTool.cxx: minor improvement of performance for BSpline surfaces with huge number of knots

Tests were modified according to new behavior of sameparameter algorithm
mod - src/Adaptor3d/Adaptor3d_TopolTool.cxx Diff File
mod - src/Approx/Approx_SameParameter.cxx Diff File
mod - src/Approx/Approx_SameParameter.hxx Diff File
rm - src/Approx/Approx_SameParameter.lxx Diff File
mod - src/Approx/FILES Diff File
mod - src/Geom2dAdaptor/Geom2dAdaptor.cxx Diff File
mod - tests/blend/simple/X4 Diff File
mod - tests/bugs/iges/bug306 Diff File
mod - tests/bugs/modalg_1/buc60905 Diff File
mod - tests/bugs/modalg_2/bug22770_10 Diff File
mod - tests/bugs/modalg_2/bug22770_11 Diff File
mod - tests/bugs/modalg_2/bug22770_13 Diff File
mod - tests/bugs/modalg_2/bug22770_15 Diff File
mod - tests/bugs/modalg_2/bug22770_18 Diff File
mod - tests/bugs/modalg_2/bug22770_20 Diff File
mod - tests/bugs/modalg_2/bug22770_23 Diff File
mod - tests/bugs/modalg_2/bug22770_24 Diff File
mod - tests/bugs/modalg_2/bug22770_25 Diff File
mod - tests/bugs/modalg_2/bug22770_26 Diff File
mod - tests/bugs/modalg_2/bug22770_27 Diff File
mod - tests/bugs/modalg_2/bug22770_28 Diff File
mod - tests/bugs/modalg_2/bug22770_3 Diff File
mod - tests/bugs/modalg_2/bug22770_30 Diff File
mod - tests/bugs/modalg_2/bug22770_5 Diff File
mod - tests/bugs/modalg_2/bug22770_8 Diff File
mod - tests/bugs/modalg_2/bug22770_9 Diff File
mod - tests/bugs/modalg_2/bug22804 Diff File
mod - tests/bugs/modalg_4/bug714 Diff File
mod - tests/bugs/modalg_5/bug25175 Diff File
mod - tests/bugs/modalg_6/bug27015 Diff File
mod - tests/bugs/modalg_7/bug29663 Diff File
mod - tests/bugs/moddata_2/bug343 Diff File
mod - tests/bugs/moddata_2/bug42 Diff File
mod - tests/bugs/xde/bug6491 Diff File
mod - tests/de/step_1/ZH1 Diff File
mod - tests/heal/data/advanced/K2 Diff File
mod - tests/heal/data/advanced/V2 Diff File
mod - tests/heal/surface_to_revolution_advanced/end Diff File
mod - tests/hlr/poly_hlr/Plate Diff File
mod - tests/mkface/after_extsurf_and_offset/B3 Diff File
mod - tests/mkface/after_extsurf_and_offset/C6 Diff File
mod - tests/mkface/after_extsurf_and_offset/C7 Diff File
mod - tests/mkface/after_extsurf_and_offset/C8 Diff File
mod - tests/mkface/after_extsurf_and_offset/C9 Diff File
mod - tests/offset/with_intersect_80/L6 Diff File
mod - tests/offset/with_intersect_80/N7 Diff File
mod - tests/sewing/tol_0_01/F1 Diff File
mod - tests/sewing/tol_0_01/F8 Diff File
mod - tests/sewing/tol_1/S5 Diff File
mod - tests/sewing/tol_100/C5 Diff File
mod - tests/sewing/tol_100/D3 Diff File
mod - tests/sewing/tol_100/I6 Diff File
mod - tests/sewing/tol_100/I9 Diff File
mod - tests/sewing/tol_100/J1 Diff File
mod - tests/sewing/tol_100/J2 Diff File
mod - tests/sewing/tol_100/J3 Diff File
mod - tests/sewing/tol_100/J5 Diff File
mod - tests/sewing/tol_100/J6 Diff File
mod - tests/sewing/tol_100/K1 Diff File
mod - tests/sewing/tol_100/K3 Diff File
mod - tests/sewing/tol_100/T8 Diff File
mod - tests/sewing/tol_100/U1 Diff File
mod - tests/sewing/tol_100/Y7 Diff File