occt: master 4e14c88f

Author Committer Branch Timestamp Parent
nbv bugmaster master 2015-11-10 07:31:19 master f44aa197
Changeset 0026431: Can't cut a sphere from a cylinder

This branch contains fixes for 26675 and 26431 bugs.

1. Normalization has been eliminated.
2. Interfaces of AppDef_Compute::Parametrization(...) and BRepAlgo_BooleanOperations::SetApproxParameters() methods have been changed.
3. Overloaded methods for ApproxInt_Approx::SetParameters(...), TopOpeBRepTool_GeomTool::GetTolerances(...) and TopOpeBRepTool_GeomTool::SetTolerances(...) have been removed (because some fields of these classes are not used more).
4. Comments for some methods have been changed in BRepApprox_TheMultiLineOfApprox.hxx and GeomInt_TheMultiLineOfWLApprox.hxx files.
5. Some fields have been deleted from ApproxInt_MultiLine class. Kept members have become constant.
6. Interface of ksection DRAW-command has been changed.
7. Now, 2dintersect DRAW-command prints information about found segments.
8. Some code fragments have been rewritten to make them easier.
9. Algorithm of splitting WLine, which goes through pole of sphere has been improved.
10. Improve approximation algorithm in order to it will compute correct 2D- and 3D-tangent at the end of bezier constraints (including case when curve goes through or finishes on singular points).
11. Interface of IntPatch_WLine::Dump(...) method has been corrected.
12. Some methods for working with Walking-line are made more universal (available for both GeomInt and IntTools packages).
13. Problem in BRepLib::SameParameter(...) method has been fixed (see corresponding comment).
14. Small correction in Draft package.
15. Any outputs in IntPatch_Intersection::Dump(...) method have become disabled because they are useless. If anybody need in this outputs he/she will correct this method himself/herself.

Adjusting some test cases according to their new behavior.
Creation of new test cases.

----------------------------------------------------------------------------------------------------------------------------

Some explanation of new behavior of some test cases:

 1. Regressions:

a) blend simple X4
The problem is described in the issue 0026740. According to this description, the result on the current MASTER seems to be wrong indeed.

b) boolean bcommon_complex C7 and boolean bcut_complex Q1
These test case use same shapes with different Boolean operation (COMMON and CUT). They are already BAD (on the MASTER). Now, some sub-shapes have become not-shared, simply. In my opinion, we shall apply new behavior of these tests.

c) boolean bsection M3
The problem described in the issue 0026777 exists even on the current MASTER.

d) boolean bsection M9
The problem is described in the message http://tracker.dev.opencascade.org/view.php?id=26815#c47546. Here, we have really regression in the picture.

e) boolean bsection N2

The problem is described in issue 0026814.

f) boolean volumemaker G1

The problem is described in issue #26020.

g) bugs modalg_1 bug1255 (and bug1255_1)

The problem is described in issue 0026815.

h) bugs modalg_2 bug5805_18, bugs modalg_2 bug5805_42, bugs modalg_2 bug5805_46

The problem is described in issue 0025925.

i) bugs modalg_3 bug602

The problem is describes in issue 0000602.

j) bugs modalg_5 bug24915

The problem is described in the message http://tracker.dev.opencascade.org/view.php?id=25929#c48565. It is not fixed by this issue.

k) bugs modalg_5 bug25838

The main reason is described in issue 0026816.

----------------------------------------------------------------------------
2. Improvements:

a) boolean volumemaker F9
b) bugs modalg_1 bug10160_3
c) bugs modalg_2 bug22557
d) bugs modalg_5 bug25319_1 (_2)
e) draft angle G2
f) offset shape A1
g) offset with_intersect_80 N7
mod - src/AppDef/AppDef_Compute.hxx Diff File
mod - src/AppParCurves/AppParCurves_LeastSquare.gxx Diff File
mod - src/Approx/Approx_ComputeLine.gxx Diff File
mod - src/ApproxInt/ApproxInt_Approx.gxx Diff File
mod - src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx Diff File
mod - src/ApproxInt/ApproxInt_KnotTools.cxx Diff File
mod - src/ApproxInt/ApproxInt_MultiLine.gxx Diff File
mod - src/BRepAlgo/BRepAlgo_BooleanOperations.cxx Diff File
mod - src/BRepAlgo/BRepAlgo_BooleanOperations.hxx Diff File
mod - src/BRepApprox/BRepApprox_Approx.hxx Diff File
mod - src/BRepApprox/BRepApprox_TheComputeLineBezierOfApprox.hxx Diff File
mod - src/BRepApprox/BRepApprox_TheMultiLineOfApprox.hxx Diff File
mod - src/BRepLib/BRepLib.cxx Diff File
mod - src/BSplCLib/BSplCLib_2.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_0.cxx Diff File
mod - src/Draft/Draft_Modification_1.cxx Diff File
mod - src/GeomInt/GeomInt_IntSS.hxx Diff File
mod - src/GeomInt/GeomInt_IntSS.lxx Diff File
mod - src/GeomInt/GeomInt_IntSS_1.cxx Diff File
mod - src/GeomInt/GeomInt_LineTool.cxx Diff File
mod - src/GeomInt/GeomInt_LineTool.hxx Diff File
mod - src/GeomInt/GeomInt_TheComputeLineBezierOfWLApprox.hxx Diff File
mod - src/GeomInt/GeomInt_TheMultiLineOfWLApprox.hxx Diff File
mod - src/GeomInt/GeomInt_WLApprox.hxx Diff File
mod - src/GeomliteTest/GeomliteTest_API2dCommands.cxx Diff File
mod - src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx Diff File
mod - src/IntPatch/FILES Diff File
mod - src/IntPatch/IntPatch_ImpPrmIntersection.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.hxx Diff File
add - src/IntPatch/IntPatch_WLineTool.cxx Diff File
add - src/IntPatch/IntPatch_WLineTool.hxx Diff File
mod - src/IntTools/IntTools_Context.cxx Diff File
mod - src/IntTools/IntTools_FaceFace.cxx Diff File
mod - src/IntTools/IntTools_WLineTool.cxx Diff File
mod - src/IntTools/IntTools_WLineTool.hxx Diff File
mod - src/ProjLib/ProjLib_ComputeApprox.cxx Diff File
mod - src/QABugs/FILES Diff File
mod - src/QABugs/QABugs.cxx Diff File
mod - src/QABugs/QABugs.hxx Diff File
add - src/QABugs/QABugs_20.cxx Diff File
mod - src/QABugs/QABugs_3.cxx Diff File
mod - src/ShapeAlgo/ShapeAlgo_AlgoContainer.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_CurveTool.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_GeomTool.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_GeomTool.hxx Diff File
mod - tests/blend/buildevol/B3 Diff File
mod - tests/blend/simple/G6 Diff File
mod - tests/blend/simple/X4 Diff File
mod - tests/boolean/bcommon_complex/C7 Diff File
mod - tests/boolean/bsection/M3 Diff File
mod - tests/boolean/bsection/N2 Diff File
mod - tests/boolean/volumemaker/C5 Diff File
mod - tests/boolean/volumemaker/C6 Diff File
mod - tests/boolean/volumemaker/F9 Diff File
mod - tests/boolean/volumemaker/G1 Diff File
mod - tests/bugs/modalg_1/buc60533 Diff File
mod - tests/bugs/modalg_1/buc60555_1 Diff File
mod - tests/bugs/modalg_1/buc60555_2 Diff File
mod - tests/bugs/modalg_1/buc60555_3 Diff File
mod - tests/bugs/modalg_1/bug10160_3 Diff File
mod - tests/bugs/modalg_1/bug1255 Diff File
mod - tests/bugs/modalg_1/bug1255_1 Diff File
mod - tests/bugs/modalg_2/bug22557 Diff File
mod - tests/bugs/modalg_2/bug5805_18 Diff File
mod - tests/bugs/modalg_2/bug5805_42 Diff File
mod - tests/bugs/modalg_2/bug5805_46 Diff File
mod - tests/bugs/modalg_3/bug602 Diff File
mod - tests/bugs/modalg_5/bug24585_1 Diff File
mod - tests/bugs/modalg_5/bug24915 Diff File
mod - tests/bugs/modalg_5/bug25319_1 Diff File
mod - tests/bugs/modalg_5/bug25319_2 Diff File
mod - tests/bugs/modalg_5/bug25838 Diff File
add - tests/bugs/modalg_6/bug26431_1 Diff File
add - tests/bugs/modalg_6/bug26431_2 Diff File
add - tests/bugs/modalg_6/bug26431_3 Diff File
add - tests/bugs/modalg_6/bug26675 Diff File
mod - tests/draft/angle/G2 Diff File
mod - tests/offset/shape/A1 Diff File
mod - tests/offset/with_intersect_80/L6 Diff File