occt: master 5fe14d0f

Author Committer Branch Timestamp Parent
nbv apn master 2018-11-09 07:22:55 master dc57476a
Changeset 0030354: BOP Cut doesn't modify the attached face

The reason of this problem is in wrong work of classifier algorithm (see the message 0030354:0080992 to the issue #30354). Therefore, the algorithm of IntTools_FClass2d class has been improved. Namely, now orientation of the polygon is computed from area-criterion instead of angle. As result, some simplification of the method IntTools_FClass2d::Init(...) has been made.

<!break>

1. New constructor has been added to the class CSLib_Class2d. It allows applying TColgp_SequenceOfPnt2d.

2. DRAW-commands "addpolygonnode" and "polygonprops" have been created. They are covered by the test case "tests/geometry/2dpolygon/A1".

3. New method Poly::PolygonProperties(...) has been created. See help for detailed information.

4. New testgrid "lowalgos classifier" has been created.
mod - src/CSLib/CSLib_Class2d.cxx Diff File
mod - src/CSLib/CSLib_Class2d.hxx Diff File
mod - src/GeometryTest/GeometryTest.cxx Diff File
mod - src/GeometryTest/GeometryTest_PolyCommands.cxx Diff File
mod - src/IntTools/IntTools_FaceFace.cxx Diff File
mod - src/IntTools/IntTools_FClass2d.cxx Diff File
mod - src/Poly/Poly.hxx Diff File
add - tests/bugs/modalg_7/bug30354 Diff File
add - tests/geometry/2dpolygon/A1 Diff File
mod - tests/geometry/grids.list Diff File
add - tests/lowalgos/classifier/bug30354_1 Diff File
add - tests/lowalgos/classifier/bug30354_2 Diff File
mod - tests/lowalgos/grids.list Diff File
add - tests/lowalgos/intss/bug30354 Diff File