]> OCCT Git - occt-copy.git/commit
0026444: Boolean operation "bcut" gives invalid result between solid and halfspace...
authoremv <emv@opencascade.com>
Thu, 23 Jul 2015 09:48:36 +0000 (12:48 +0300)
committermsv <msv@opencascade.com>
Mon, 27 Jul 2015 12:32:24 +0000 (15:32 +0300)
commitbc6903b48ce0c360b5183580b42d59f761a8928a
treef8768d6b0a5b6a0ab52bc66d55b275265e6f8706
parent00d461675534c0c23b9ba54cf043785e778c8890
0026444: Boolean operation "bcut" gives invalid result between solid and halfspace solid.

Patch for version 670 of OCCT (Git branch CR0_670_FixS).

class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PutPaveOnCurve
    (const Standard_Integer nV,
     const Standard_Real aTolR3D,
     BOPDS_Curve& aNC,
     const BOPCol_MapOfInteger& aMI,
     BOPCol_DataMapOfIntegerReal& aMVTol,
     const Standard_Integer iCheckExtend)

Do not put the pave on the curve in case if there is already one with the same parameter.
Update tolerance of the existing vertex to reach the new one.

Added test case bugs/modalg_6/bug26444.
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_8.cxx
src/BOPDS/BOPDS_PaveBlock.cdl
src/BOPDS/BOPDS_PaveBlock.cxx
tests/bugs/modalg_6/bug26444 [new file with mode: 0644]