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.
40 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_2/bug23341 [deleted file]
tests/bugs/modalg_5/bug23777 [deleted file]
tests/bugs/modalg_5/bug23849_2 [deleted file]
tests/bugs/modalg_5/bug24422 [deleted file]
tests/bugs/modalg_5/bug25969 [deleted file]
tests/bugs/modalg_5/bug25969_std [deleted file]
tests/bugs/modalg_6/bug26206 [deleted file]
tests/bugs/modalg_6/bug27434 [deleted file]
tests/bugs/modalg_7/bug30354 [new file with mode: 0644]
tests/bugs/moddata_1/buc60609 [deleted file]
tests/bugs/moddata_1/bug22494 [deleted file]
tests/bugs/moddata_2/bug23244 [deleted file]
tests/bugs/moddata_2/bug377 [deleted file]
tests/bugs/moddata_2/bug538 [deleted file]
tests/geometry/2dpolygon/A1 [new file with mode: 0644]
tests/geometry/grids.list
tests/lowalgos/classifier/buc60609 [new file with mode: 0644]
tests/lowalgos/classifier/bug22494 [new file with mode: 0644]
tests/lowalgos/classifier/bug23244 [new file with mode: 0644]
tests/lowalgos/classifier/bug23341 [new file with mode: 0644]
tests/lowalgos/classifier/bug23777 [new file with mode: 0644]
tests/lowalgos/classifier/bug23849_2 [new file with mode: 0644]
tests/lowalgos/classifier/bug24422 [new file with mode: 0644]
tests/lowalgos/classifier/bug25969 [new file with mode: 0644]
tests/lowalgos/classifier/bug25969_std [new file with mode: 0644]
tests/lowalgos/classifier/bug26206 [new file with mode: 0644]
tests/lowalgos/classifier/bug27434 [new file with mode: 0644]
tests/lowalgos/classifier/bug30354_1 [new file with mode: 0644]
tests/lowalgos/classifier/bug30354_2 [new file with mode: 0644]
tests/lowalgos/classifier/bug377 [new file with mode: 0644]
tests/lowalgos/classifier/bug538 [new file with mode: 0644]
tests/lowalgos/grids.list
tests/lowalgos/intss/bug30354 [new file with mode: 0644]