X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ShapesTool.cxx;h=c37bcb7077f68ba77c221cf2c71a5474784a4bd9;hb=a10433b0e4c819c3e85194f15b2bff87aa25df3f;hp=478a6d4cdda1e1d694dbe43ebc447990779c8449;hpb=474c2cd65280d793f1c81ca528bc92e1cff988e6;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ShapesTool.cxx b/src/HYDROData/HYDROData_ShapesTool.cxx index 478a6d4c..c37bcb70 100644 --- a/src/HYDROData/HYDROData_ShapesTool.cxx +++ b/src/HYDROData/HYDROData_ShapesTool.cxx @@ -1,8 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -99,7 +95,7 @@ bool HYDROData_ShapesTool::IsVerticesEquals( const TopoDS_Vertex& theFirstVert, aSecondPoint.SetZ( 0.0 ); } - return aFirstPoint.IsEqual( aSecondPoint, Precision::Confusion() ); + return aFirstPoint.IsEqual( aSecondPoint, Precision::Confusion() )==Standard_True; } TopoDS_Shape HYDROData_ShapesTool::Translated( const TopoDS_Shape& theShape,