]> OCCT Git - occt-copy.git/commit
0024823: Hang up in "bopcheck" command
authoremv <emv@opencascade.com>
Thu, 17 Apr 2014 15:14:50 +0000 (19:14 +0400)
committerabv <abv@opencascade.com>
Mon, 21 Apr 2014 15:15:11 +0000 (19:15 +0400)
commitb99e1b768f95c9612b2b504e4eece1120e23bdf6
treefd7c1cbf4a6403b06e2c0abc1a509046219c5390
parent45671182ca0eda6b19f735278fc39ce3678530e6
0024823: Hang up in "bopcheck" command

Modifications:
class IntTools_EdgeEdge
 1. method
   Standard_Boolean IntTools_EdgeEdge::FindParameters(
      const BRepAdaptor_Curve& theB
      const Standard_Real aT1,
      const Standard_Real aT2,
      const Standard_Real theRes,
      const Standard_Real thePTol,
      const Bnd_Box& theCBox,
      Standard_Real& aTB1,
      Standard_Real& aTB2)

   Added protection for large values of parameters of the edges.

 2. methods
    static Standard_Boolean BndCommon(const Bnd_Box& theB1,
                                      const Bnd_Box& theB2,
                                      Bnd_Box& theBOut)
   and
    IntTools_EdgeEdge::FindSolutions()

   have been removed as redundant.

Test case for issue CR24823
src/BOPTest/BOPTest_CheckCommands.cxx
src/IntTools/IntTools_EdgeEdge.cdl
src/IntTools/IntTools_EdgeEdge.cxx
src/IntTools/IntTools_EdgeEdge.lxx
tests/bugs/modalg_5/bug24823 [new file with mode: 0755]
tests/bugs/moddata_2/bug26_1
tests/bugs/moddata_2/bug26_2