0028028: Solid becomes invalid after scaling
authorazv <azv@opencascade.com>
Sat, 29 Oct 2016 08:23:05 +0000 (11:23 +0300)
committerapn <apn@opencascade.com>
Tue, 8 Nov 2016 12:15:18 +0000 (15:15 +0300)
commit9c189bd8dc04d32baa5b849953a5da6cf44c3f0e
treef75a7f461ded127db486b9c35805974640161946
parent1475265b5827118cedab8ac81d64fa3f717893c5
0028028: Solid becomes invalid after scaling

The shape after scaling contains PCurves with incorrect parametrization, because of too large tolerance given.

1. Set Precision::PConfution() as a tolerance for GeomLib::SameRange.
2. Do not take into account tolerances of vertices while calculating tolerance of transformed PCurve for edge.
3. Test case bugs/modalg_6/bug28028
src/BRepTools/BRepTools_TrsfModification.cxx
tests/bugs/modalg_6/bug28028 [new file with mode: 0644]