occt: master 19e7092d

Author Committer Branch Timestamp Parent
msv bugmaster master 2017-03-14 14:33:46 master 1b9f3f67
Changeset 0028553: Incorrect result of the ShapeUpgrade_ShapeDivideContinuity algorithm

The cause of the bug was computation of incorrect UVBounds in the method ShapeAnalysis::GetFaceUVBounds. In this patch the computation of a box for a 2D curve in the method ShapeAnalysis_Curve::FillBndBox() has been improved taking into account intervals of C2 continuity.
Also the fix makes little extension of bounds when making the new surface in ShapeUpgrade_FaceDivide::SplitSurface(), so that all p-curves were fully inside.

Test case for issue CR28553
mod - src/ShapeAnalysis/ShapeAnalysis_Curve.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx Diff File
add - tests/bugs/heal/bug28553 Diff File