From: pkv Date: Mon, 25 May 2015 10:08:25 +0000 (+0300) Subject: 0026263: Inconsistent results of bopargcheck snd checkcurveonsurf commands. X-Git-Tag: V7_0_0_beta~535 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5fe13efc5654956815f82ba181f7c890a7a95b7d;p=occt.git 0026263: Inconsistent results of bopargcheck snd checkcurveonsurf commands. Changes: class BOPTest - static function: Standard_Integer checkcurveonsurf(Draw_Interpretor& di, Standard_Integer n, const char** a) has been changed. The condition that provides selection of faulty curves has been modified to be coherent with the same condition in class BOPAlgo_Analyzer. --- diff --git a/src/BOPTest/BOPTest_CheckCommands.cxx b/src/BOPTest/BOPTest_CheckCommands.cxx index 72c7e423e3..7c37c401ab 100644 --- a/src/BOPTest/BOPTest_CheckCommands.cxx +++ b/src/BOPTest/BOPTest_CheckCommands.cxx @@ -999,7 +999,7 @@ Standard_Integer checkcurveonsurf(Draw_Interpretor& di, } // aTolE = BRep_Tool::Tolerance(aE); - if (aDMax < aTolE) { + if (!(aDMax > aTolE)) { continue; } //