// C++ : Associations dans le document
-// Copyright (C) 2009-2019 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
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;