OS << degree << " ";
for (i = 1; i <= degree+1; i++) {
- if (!compact) OS << "\n "<<setw(2)<<i<<" : ";
+ if (!compact) OS << "\n "<<std::setw(2)<<i<<" : ";
Print(B->Pole(i),OS,compact);
if (rational)
OS << " " << B->Weight(i);
if (!compact) OS << "Poles :\n";
for (i = 1; i <= nbpoles; i++) {
- if (!compact) OS << "\n "<<setw(2)<<i<<" : ";
+ if (!compact) OS << "\n "<<std::setw(2)<<i<<" : ";
else OS << " ";
Print(B->Pole(i),OS,compact);
if (rational)
if (!compact) OS << "Knots :\n";
for (i = 1; i <= nbknots; i++) {
- if (!compact) OS << "\n "<<setw(2)<<i<<" : ";
+ if (!compact) OS << "\n "<<std::setw(2)<<i<<" : ";
else OS << " ";
OS << B->Knot(i) << " " << B->Multiplicity(i);
}
//if (!compact)
// OS << "****** UNKNOWN CURVE2d TYPE ******\n";
//else
- // cout << "****** UNKNOWN CURVE2d TYPE ******" << endl;
+ // std::cout << "****** UNKNOWN CURVE2d TYPE ******" << std::endl;
}
}
OS << "\n -------\n\n";
for (i = 1; i <= nbsurf; i++) {
- OS << setw(4) << i << " : ";
+ OS << std::setw(4) << i << " : ";
PrintCurve2d(Handle(Geom2d_Curve)::DownCast(myMap(i)),OS,Standard_False);
}
}
}
catch(Standard_Failure const& anException) {
#ifdef OCCT_DEBUG
- cout <<"EXCEPTION in GeomTools_Curve2dSet::ReadCurve2d(..)!!!" << endl;
- cout << anException << endl;
+ std::cout <<"EXCEPTION in GeomTools_Curve2dSet::ReadCurve2d(..)!!!" << std::endl;
+ std::cout << anException << std::endl;
#endif
(void)anException;
}
char buffer[255];
IS >> buffer;
if (strcmp(buffer,"Curve2ds")) {
- cout << "Not a Curve2d table"<<endl;
+ std::cout << "Not a Curve2d table"<<std::endl;
return;
}