0030354: BOP Cut doesn't modify the attached face
authornbv <nbv@opencascade.com>
Fri, 9 Nov 2018 07:22:55 +0000 (10:22 +0300)
committerapn <apn@opencascade.com>
Thu, 15 Nov 2018 14:34:42 +0000 (17:34 +0300)
commit5fe14d0fac01827796c44a07acae1397d1ea1e8e
treee1cc356a63e988716a99ba77af4aa1bb6851ca99
parentdc57476a0e478cd473400be81495083f2233ce12
0030354: BOP Cut doesn't modify the attached face

The reason of this problem is in wrong work of classifier algorithm (see the message ~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.
27 files changed:
src/CSLib/CSLib_Class2d.cxx
src/CSLib/CSLib_Class2d.hxx
src/GeometryTest/GeometryTest.cxx
src/GeometryTest/GeometryTest_PolyCommands.cxx
src/IntTools/IntTools_FClass2d.cxx
src/IntTools/IntTools_FaceFace.cxx
src/Poly/Poly.hxx
tests/bugs/modalg_7/bug30354 [new file with mode: 0644]
tests/geometry/2dpolygon/A1 [new file with mode: 0644]
tests/geometry/grids.list
tests/lowalgos/classifier/buc60609 [moved from tests/bugs/moddata_1/buc60609 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug22494 [moved from tests/bugs/moddata_1/bug22494 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug23244 [moved from tests/bugs/moddata_2/bug23244 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug23341 [moved from tests/bugs/modalg_2/bug23341 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug23777 [moved from tests/bugs/modalg_5/bug23777 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug23849_2 [moved from tests/bugs/modalg_5/bug23849_2 with 100% similarity]
tests/lowalgos/classifier/bug24422 [moved from tests/bugs/modalg_5/bug24422 with 100% similarity]
tests/lowalgos/classifier/bug25969 [moved from tests/bugs/modalg_5/bug25969 with 100% similarity]
tests/lowalgos/classifier/bug25969_std [moved from tests/bugs/modalg_5/bug25969_std with 100% similarity]
tests/lowalgos/classifier/bug26206 [moved from tests/bugs/modalg_6/bug26206 with 100% similarity]
tests/lowalgos/classifier/bug27434 [moved from tests/bugs/modalg_6/bug27434 with 100% similarity]
tests/lowalgos/classifier/bug30354_1 [new file with mode: 0644]
tests/lowalgos/classifier/bug30354_2 [new file with mode: 0644]
tests/lowalgos/classifier/bug377 [moved from tests/bugs/moddata_2/bug377 with 100% similarity, mode: 0644]
tests/lowalgos/classifier/bug538 [moved from tests/bugs/moddata_2/bug538 with 100% similarity, mode: 0644]
tests/lowalgos/grids.list
tests/lowalgos/intss/bug30354 [new file with mode: 0644]