0024981: IntTools_FaceFace enters to infinite loop on the attached case
authoremv <emv@opencascade.com>
Wed, 11 Jun 2014 06:41:15 +0000 (10:41 +0400)
committerapn <apn@opencascade.com>
Wed, 11 Jun 2014 06:41:58 +0000 (10:41 +0400)
commit655fddc854d3d5886d6df02dbe5a98c89dacdc31
tree91649ff2382024c85e116e8576b4e35649d755cc
parenta4e383e1b872d899af548996a88df515b4ea0e59
0024981: IntTools_FaceFace enters to infinite loop on the attached case

class IntTools_Tools
method
  Standard_Boolean IntTools_Tools::AdjustPeriodic
      (const Standard_Real thePar,
       const Standard_Real theParMin,
       const Standard_Real theParMax,
       const Standard_Real thePeriod,
       Standard_Real &theNewPar,
       Standard_Real &theOffset,
       const Standard_Real theEps)
The new function has been implemented for fast adjustment of pcurves to the range of surface.
Test case correction for issue CR24981
src/BOPTools/BOPTools_AlgoTools2D.cxx
src/IntTools/IntTools_BeanFaceIntersector.cxx
src/IntTools/IntTools_FClass2d.cxx
src/IntTools/IntTools_FaceFace.cxx
src/IntTools/IntTools_LineConstructor.cxx
src/IntTools/IntTools_Tools.cdl
src/IntTools/IntTools_Tools.cxx
tests/bugs/modalg_4/bug6272_6
tests/bugs/modalg_5/bug24981 [new file with mode: 0644]