]> OCCT Git - occt-copy.git/commit
0027767: Recognize cylindrical fragments in facet model CR27767
authormsv <msv@opencascade.com>
Fri, 5 Aug 2016 08:13:44 +0000 (11:13 +0300)
committermsv <msv@opencascade.com>
Thu, 11 Aug 2016 14:17:21 +0000 (17:17 +0300)
commitb28c01bcfb98a06cd3a1313275889454ab010059
treeeff481774baa3db88ab965b6f64e7584c458d7b5
parent57fbfb8e7b51c55bf5cebfe79b9c696fead70d3f
0027767: Recognize cylindrical fragments in facet model

Implement the new class ShapeUpgrade_CombineToCylinder that allows merging of planar faces constituting a cylindrical surface into one face. The algorithm accepts linear and angular tolerances to check whether a set of faces satisfies cylindrical criteria.

The algorithm has front end in Draw as a command combinetocylinder.

Create a set of test scripts in the new category heal/facet_to_geom.
12 files changed:
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
src/ShapeUpgrade/FILES
src/ShapeUpgrade/ShapeUpgrade_CombineToCylinder.cxx [new file with mode: 0644]
src/ShapeUpgrade/ShapeUpgrade_CombineToCylinder.hxx [new file with mode: 0644]
tests/heal/begin
tests/heal/end
tests/heal/facet_to_geom/A1 [new file with mode: 0644]
tests/heal/facet_to_geom/A2 [new file with mode: 0644]
tests/heal/facet_to_geom/A3 [new file with mode: 0644]
tests/heal/facet_to_geom/A4 [new file with mode: 0644]
tests/heal/facet_to_geom/end [new file with mode: 0644]
tests/heal/grids.list