Salome HOME
merge BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROData / HYDROData_ShapesTool.cxx
index f99f78cd790a7fd6ea7b951c356d7100522e17dc..51867ce64d9ac94b8467968458b9c6ea31e1d992 100644 (file)
@@ -95,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,
@@ -192,6 +192,6 @@ void HYDROData_ShapesTool::DumpSequenceOfShapes( std::ostream&
   for ( int i = 1, n = theShapes.Length(); i <= n; ++i )
   {
     const TopoDS_Shape& aShape = theShapes.Value( i );
-    theStream << "Shape " << i << " : " << aShape.TShape() << "\n";
+    theStream << "Shape " << i << " : " << 0 /*aShape.TShape()*/ << "\n";
   }
-}
\ No newline at end of file
+}