-// Copyright (C) 2018-2020 CEA/DEN, EDF R&D, 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
{
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] );
if ( face2 )
polySeg.myFace[ iP ] = face2;
else
- ;// ??
+ {} // todo: ??
for ( int i = 0; i < 3; ++i )
{
nodes[ i ] = polySeg.myFace[ iP ]->GetNode( i );