]> OCCT Git - occt-copy.git/commit
0026444: Boolean operation "bcut" gives invalid result between solid and halfspace... CR26444-670
authoremv <emv@opencascade.com>
Thu, 23 Jul 2015 09:48:36 +0000 (12:48 +0300)
committermsv <msv@opencascade.com>
Mon, 27 Jul 2015 12:30:43 +0000 (15:30 +0300)
commitf6a19d99409a7d4313301fe5376fd22f0d39ff28
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]