X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_PolyLine.cxx;h=b19c5be55e1b1092d42bd4c46b1c4fd2f97aaba9;hb=6b5dcfe0005f2a725fd721fe10abd1c3259e25ad;hp=82ace285912eba5086e0b76940d3397ee20027bc;hpb=98ec6be586ce93a33c242c6ce1f90b609ce31493;p=modules%2Fsmesh.git diff --git a/src/SMESHUtils/SMESH_PolyLine.cxx b/src/SMESHUtils/SMESH_PolyLine.cxx index 82ace2859..b19c5be55 100644 --- a/src/SMESHUtils/SMESH_PolyLine.cxx +++ b/src/SMESHUtils/SMESH_PolyLine.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2019 OPEN CASCADE +// Copyright (C) 2018-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -359,7 +359,7 @@ namespace { SMESH_MeshAlgos::PolySegment& polySeg = mySegments[ iSeg ]; - if ( ( polySeg.myXYZ[0] - polySeg.myXYZ[1] ).SquareModulus() == 0 ) + if (( polySeg.myXYZ[0] - polySeg.myXYZ[1] ).SquareModulus() == 0 ) { myPaths[ iSeg ].AddPoint( polySeg.myXYZ[0] ); myPaths[ iSeg ].AddPoint( polySeg.myXYZ[1] ); @@ -421,7 +421,7 @@ namespace if ( face2 ) polySeg.myFace[ iP ] = face2; else - ;// ?? + {} // todo: ?? for ( int i = 0; i < 3; ++i ) { nodes[ i ] = polySeg.myFace[ iP ]->GetNode( i );