X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FHYDROData%2FHYDROData_ShapesTool.cxx;h=51867ce64d9ac94b8467968458b9c6ea31e1d992;hb=bb009eea154c0fea56d45cc915da587ef2297b96;hp=f99f78cd790a7fd6ea7b951c356d7100522e17dc;hpb=439579ec24edd8b147cab07f688d446d59029a1e;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ShapesTool.cxx b/src/HYDROData/HYDROData_ShapesTool.cxx index f99f78cd..51867ce6 100644 --- a/src/HYDROData/HYDROData_ShapesTool.cxx +++ b/src/HYDROData/HYDROData_ShapesTool.cxx @@ -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 +}