// C++ : Associations dans le document
-// Copyright (C) 2009-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024 CEA, EDF
//
// 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
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/
-// or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include "HexDocument.hxx"
#include "HexEdge.hxx"
static bool db = on_debug (); // == getenv ("HEXA_DB") > 0
-int vertexInLine (Vertex* vfirst, Edges& mline, vector<int> &tsens);
+int vertexInLine (Vertex* vfirst, Edges& mline, std::vector<int> &tsens);
// ====================================================== vertexInLine
-int vertexInLine (Vertex* vfirst, Edges& mline, vector<int> &tsens)
+int vertexInLine (Vertex* vfirst, Edges& mline, std::vector<int> &tsens)
{
int nbseg = mline.size ();
IntVector tabid,
double pstart, double pend)
{
- cout << "_________________________________ Asso Open Line"
- << " ed=" << mline.size()
- << " sh=" << tabid.size()
- << endl;
+ std::cout << "_________________________________ Asso Open Line"
+ << " ed=" << mline.size()
+ << " sh=" << tabid.size()
+ << std::endl;
int ier = associateLine (NULL, mline, gline, tabid, pstart, pend, false);
return ier;
}
return HERR;
}
- cout << "_________________________________ Asso Closed Line"
- << " first=" << vfirst->getName()
- << " ed=" << mline.size()
- << " sh=" << tabid.size()
- << " inv=" << inv
- << endl;
+ std::cout << "_________________________________ Asso Closed Line"
+ << " first=" << vfirst->getName()
+ << " ed=" << mline.size()
+ << " sh=" << tabid.size()
+ << " inv=" << inv
+ << std::endl;
int ier = associateLine (vfirst, mline, gline, tabid, pstart, 1.0, inv);
PutData (ier);
return ier;
if (ier != HOK) nberrors ++;
}
- cout << " ... Check edges assotiations : " << nberrors
- << " error(s)." << endl;
+ std::cout << " ... Check edges assotiations : " << nberrors
+ << " error(s)." << std::endl;
if (nberrors>0) return HERR;
else return HOK;