occt: master 1e08a76f

Author Committer Branch Timestamp Parent
aavtamon bugmaster master 2020-12-02 07:18:15 master 1aa38057
Affected Issues  0031402: Modeling Data - Geom_BSplineSurface::Segment() produces wrong result
Changeset 0031402: Modeling Data - Geom_BSplineSurface::Segment() produces wrong result

In the method Segment() index1 needs to be checked as well as index2 in Geom_BSplineSurface and Geom2d_BSplineCurve
(Geom_BSplineCurve already has this check).
New test cases bug31402_1, bug31402_2 has been added.

The unnecessary code block in Geom2d_BSplineCurve has been deleted,
and checking index2 block has beed extended.
mod - src/Geom/Geom_BSplineSurface.cxx Diff File
mod - src/Geom2d/Geom2d_BSplineCurve.cxx Diff File
add - tests/bugs/moddata_3/bug31402_1 Diff File
add - tests/bugs/moddata_3/bug31402_2 Diff File