occt: master a743e2e5

Author Committer Branch Timestamp Parent
abv abv master 2014-04-17 15:14:50 master 6092c0c8
Affected Issues  0024823: Hang up in "bopcheck" command
Changeset 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
mod - src/BOPTest/BOPTest_CheckCommands.cxx Diff File
mod - src/IntTools/IntTools_EdgeEdge.cdl Diff File
mod - src/IntTools/IntTools_EdgeEdge.cxx Diff File
mod - src/IntTools/IntTools_EdgeEdge.lxx Diff File
add - tests/bugs/modalg_5/bug24823 Diff File
mod - tests/bugs/moddata_2/bug26_1 Diff File
mod - tests/bugs/moddata_2/bug26_2 Diff File