1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0030895: Coding Rules - specify std namespace explicitly for std::cout and streams

"endl" manipulator for Message_Messenger is renamed to "Message_EndLine".

The following entities from std namespace are now used
with std:: explicitly specified (from Standard_Stream.hxx):
std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream,
std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr,
std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision,
std::hex,std::dec.
This commit is contained in:
tiv
2019-08-02 10:32:16 +03:00
committed by bugmaster
parent 3977d18aca
commit 0423218095
972 changed files with 8554 additions and 8550 deletions

View File

@@ -396,34 +396,34 @@ Standard_Boolean BlendFunc_ChAsymInv::Values(const math_Vector& X,
F = FX;
D = DX;
return Error;
/* cout<<endl;
cout<<" test ChAsymInv"<<endl;
cout<<"calcul exact <--> approche"<<endl;
/* std::cout<<std::endl;
std::cout<<" test ChAsymInv"<<std::endl;
std::cout<<"calcul exact <--> approche"<<std::endl;
math_Vector X1(1,4);
math_Vector F1(1,4);
X1 = X; X1(1) += 1.e-10;
Value(X1,F1);
cout<<"D(1,1) : "<<D(1,1)<<" "<<(F1(1) - F(1)) * 1.e10<<endl;
cout<<"D(2,1) : "<<D(2,1)<<" "<<(F1(2) - F(2)) * 1.e10<<endl;
cout<<"D(3,1) : "<<D(3,1)<<" "<<(F1(3) - F(3)) * 1.e10<<endl;
cout<<"D(4,1) : "<<D(4,1)<<" "<<(F1(4) - F(4)) * 1.e10<<endl;
std::cout<<"D(1,1) : "<<D(1,1)<<" "<<(F1(1) - F(1)) * 1.e10<<std::endl;
std::cout<<"D(2,1) : "<<D(2,1)<<" "<<(F1(2) - F(2)) * 1.e10<<std::endl;
std::cout<<"D(3,1) : "<<D(3,1)<<" "<<(F1(3) - F(3)) * 1.e10<<std::endl;
std::cout<<"D(4,1) : "<<D(4,1)<<" "<<(F1(4) - F(4)) * 1.e10<<std::endl;
X1 = X; X1(2) += 1.e-10;
Value(X1,F1);
cout<<"D(1,2) : "<<D(1,2)<<" "<<(F1(1) - F(1)) * 1.e10<<endl;
cout<<"D(2,2) : "<<D(2,2)<<" "<<(F1(2) - F(2)) * 1.e10<<endl;
cout<<"D(3,2) : "<<D(3,2)<<" "<<(F1(3) - F(3)) * 1.e10<<endl;
cout<<"D(4,2) : "<<D(4,2)<<" "<<(F1(4) - F(4)) * 1.e10<<endl;
std::cout<<"D(1,2) : "<<D(1,2)<<" "<<(F1(1) - F(1)) * 1.e10<<std::endl;
std::cout<<"D(2,2) : "<<D(2,2)<<" "<<(F1(2) - F(2)) * 1.e10<<std::endl;
std::cout<<"D(3,2) : "<<D(3,2)<<" "<<(F1(3) - F(3)) * 1.e10<<std::endl;
std::cout<<"D(4,2) : "<<D(4,2)<<" "<<(F1(4) - F(4)) * 1.e10<<std::endl;
X1 = X; X1(3) += 1.e-10;
Value(X1,F1);
cout<<"D(1,3) : "<<D(1,3)<<" "<<(F1(1) - F(1)) * 1.e10<<endl;
cout<<"D(2,3) : "<<D(2,3)<<" "<<(F1(2) - F(2)) * 1.e10<<endl;
cout<<"D(3,3) : "<<D(3,3)<<" "<<(F1(3) - F(3)) * 1.e10<<endl;
cout<<"D(4,3) : "<<D(4,3)<<" "<<(F1(4) - F(4)) * 1.e10<<endl;
std::cout<<"D(1,3) : "<<D(1,3)<<" "<<(F1(1) - F(1)) * 1.e10<<std::endl;
std::cout<<"D(2,3) : "<<D(2,3)<<" "<<(F1(2) - F(2)) * 1.e10<<std::endl;
std::cout<<"D(3,3) : "<<D(3,3)<<" "<<(F1(3) - F(3)) * 1.e10<<std::endl;
std::cout<<"D(4,3) : "<<D(4,3)<<" "<<(F1(4) - F(4)) * 1.e10<<std::endl;
X1 = X; X1(4) += 1.e-10;
Value(X1,F1);
cout<<"D(1,4) : "<<D(1,4)<<" "<<(F1(1) - F(1)) * 1.e10<<endl;
cout<<"D(2,4) : "<<D(2,4)<<" "<<(F1(2) - F(2)) * 1.e10<<endl;
cout<<"D(3,4) : "<<D(3,4)<<" "<<(F1(3) - F(3)) * 1.e10<<endl;
cout<<"D(4,4) : "<<D(4,4)<<" "<<(F1(4) - F(4)) * 1.e10<<endl;*/
std::cout<<"D(1,4) : "<<D(1,4)<<" "<<(F1(1) - F(1)) * 1.e10<<std::endl;
std::cout<<"D(2,4) : "<<D(2,4)<<" "<<(F1(2) - F(2)) * 1.e10<<std::endl;
std::cout<<"D(3,4) : "<<D(3,4)<<" "<<(F1(3) - F(3)) * 1.e10<<std::endl;
std::cout<<"D(4,4) : "<<D(4,4)<<" "<<(F1(4) - F(4)) * 1.e10<<std::endl;*/
}

View File

@@ -292,14 +292,14 @@ Standard_Boolean BlendFunc_ConstRad::ComputeValues(const math_Vector& X,
else {
invnorm1 = 1; // Unsatisfactory, but it is not necessary to crash
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}
if (invnorm2 > Eps) invnorm2 = ((Standard_Real) 1) /invnorm2;
else {
invnorm2 = 1; // Unsatisfactory, but it is not necessary to crash
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}
@@ -887,7 +887,7 @@ Standard_Boolean BlendFunc_ConstRad::IsSolution(const math_Vector& Sol, const St
Abs(controle(3)) > tolerances(3) ||
Abs(controle(4)) > tolerances(4)){
#ifdef OCCT_DEBUG
cout<<"Cheminement : echec calcul des derivees"<<endl;
std::cout<<"Cheminement : echec calcul des derivees"<<std::endl;
#endif
istangent = Standard_True;
}
@@ -924,9 +924,9 @@ Standard_Boolean BlendFunc_ConstRad::IsSolution(const math_Vector& Sol, const St
else Angle = 2.*M_PI - Angle;
}
// cout << "Angle : " <<Angle << endl;
// std::cout << "Angle : " <<Angle << std::endl;
// if ((Angle < 0) || (Angle > M_PI)) {
// cout << "t = " << param << endl;
// std::cout << "t = " << param << std::endl;
// }
if (Abs(Angle)>maxang) {maxang = Abs(Angle);}
@@ -1480,13 +1480,13 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}
@@ -1629,36 +1629,36 @@ Standard_Boolean BlendFunc_ConstRad::Section
pdiff = (d_plan - dnplan)*(1/deltat);
if ((pdiff-d2nplan).Magnitude() > seuil*(pdiff.Magnitude()+1))
{
cout << "d2nplan = (" << d2nplan.X() << ","<< d2nplan.Y() << ","<< d2nplan.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2nplan = (" << d2nplan.X() << ","<< d2nplan.Y() << ","<< d2nplan.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
pdiff = (d1 - dn1w)*(1/deltat);
if ((pdiff-d2n1w).Magnitude() > seuil*(pdiff.Magnitude()+1))
{
cout << "d2n1w = (" << d2n1w.X() << ","<< d2n1w.Y() << ","<< d2n1w.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2n1w = (" << d2n1w.X() << ","<< d2n1w.Y() << ","<< d2n1w.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
pdiff = (d2 - dn2w)*(1/deltat);
if ((pdiff-d2n2w).Magnitude() > seuil*(pdiff.Magnitude()+1))
{
cout << "d2n2w = (" << d2n2w.X() << ","<< d2n2w.Y() << ","<< d2n2w.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2n2w = (" << d2n2w.X() << ","<< d2n2w.Y() << ","<< d2n2w.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
for ( ii=1; ii<=4; ii++) {
if (Abs(VDiff(ii)-D2EDT2(ii)) > seuil*(Abs(D2EDT2(ii))+1))
{
cout << "erreur sur D2EDT2 : "<< ii << endl;
cout << D2EDT2(ii) << " D.F = " << VDiff(ii) << endl;
std::cout << "erreur sur D2EDT2 : "<< ii << std::endl;
std::cout << D2EDT2(ii) << " D.F = " << VDiff(ii) << std::endl;
}
for (jj=1; jj<=4; jj++) {
if (Abs(MDiff(ii,jj)-D2EDXDT(ii, jj)) >
1.e-3*(Abs(D2EDXDT(ii, jj))+1.e-2))
{
cout << "erreur sur D2EDXDT : "<< ii << " , " << jj << endl;
cout << D2EDXDT(ii,jj) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDXDT : "<< ii << " , " << jj << std::endl;
std::cout << D2EDXDT(ii,jj) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1669,8 +1669,8 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 1)) >
seuil*(Abs(D2EDX2(ii, jj, 1))+1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 1 << endl;
cout << D2EDX2(ii,jj, 1) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 1 << std::endl;
std::cout << D2EDX2(ii,jj, 1) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1682,8 +1682,8 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 2)) >
seuil*(Abs(D2EDX2(ii, jj, 2))+1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 2 << endl;
cout << D2EDX2(ii,jj, 2) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 2 << std::endl;
std::cout << D2EDX2(ii,jj, 2) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1694,8 +1694,8 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 3)) >
seuil*(Abs(D2EDX2(ii, jj, 3))+1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 3 << endl;
cout << D2EDX2(ii,jj, 3) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 3 << std::endl;
std::cout << D2EDX2(ii,jj, 3) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1707,8 +1707,8 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 4)) >
seuil*(Abs(D2EDX2(ii, jj, 4))+1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 4 << endl;
cout << D2EDX2(ii,jj, 4) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 4 << std::endl;
std::cout << D2EDX2(ii,jj, 4) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1822,13 +1822,13 @@ Standard_Boolean BlendFunc_ConstRad::Section
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRad : Surface singuliere " << endl;
std::cout << " ConstRad : Surface singuliere " << std::endl;
#endif
}

View File

@@ -299,13 +299,13 @@ Standard_Boolean BlendFunc_ConstRadInv::Derivatives(const math_Vector& X,
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRadInv : Surface singuliere " << endl;
std::cout << " ConstRadInv : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRadInv : Surface singuliere " << endl;
std::cout << " ConstRadInv : Surface singuliere " << std::endl;
#endif
}
@@ -480,13 +480,13 @@ Standard_Boolean BlendFunc_ConstRadInv::Values(const math_Vector& X,
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRadInv : Surface singuliere " << endl;
std::cout << " ConstRadInv : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " ConstRadInv : Surface singuliere " << endl;
std::cout << " ConstRadInv : Surface singuliere " << std::endl;
#endif
}

View File

@@ -357,14 +357,14 @@ Standard_Boolean BlendFunc_EvolRad::ComputeValues(const math_Vector& X,
else {
invnorm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
if (invnorm2 > Eps) invnorm2 = ((Standard_Real) 1) /invnorm2;
else {
invnorm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
@@ -956,7 +956,7 @@ Standard_Boolean BlendFunc_EvolRad::IsSolution(const math_Vector& Sol,
Abs(controle(3)) > tolerances(3) ||
Abs(controle(4)) > tolerances(4)){
#ifdef OCCT_DEBUG
cout<<"Cheminement : echec calcul des derivees"<<endl;
std::cout<<"Cheminement : echec calcul des derivees"<<std::endl;
#endif
istangent = Standard_True;
}
@@ -1081,7 +1081,7 @@ void BlendFunc_EvolRad::Tangent(const Standard_Real U1,
gp_Vec d1u,d1v;
gp_Pnt bid;
#ifdef OCCT_DEBUG
cout << " erreur de tengent !!!!!!!!!!!!!!!!!!!!" << endl;
std::cout << " erreur de tengent !!!!!!!!!!!!!!!!!!!!" << std::endl;
#endif
surf1->D1(U1,V1,bid,d1u,d1v);
NmF = ns1 = d1u.Crossed(d1v);
@@ -1456,13 +1456,13 @@ void BlendFunc_EvolRad::Section(const Blend_Point& P,
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
@@ -1589,13 +1589,13 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
@@ -1742,36 +1742,36 @@ Standard_Boolean BlendFunc_EvolRad::Section
pdiff = (d_plan - dnplan)*(1/deltat);
if ((pdiff-d2nplan).Magnitude() > 1.e-4*(pdiff.Magnitude()+1.e-1))
{
cout << "d2nplan = (" << d2nplan.X() << ","<< d2nplan.Y() << ","<< d2nplan.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2nplan = (" << d2nplan.X() << ","<< d2nplan.Y() << ","<< d2nplan.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
pdiff = (d1 - dn1w)*(1/deltat);
if ((pdiff-d2n1w).Magnitude() > 1.e-4*(pdiff.Magnitude()+1.e-1))
{
cout << "d2n1w = (" << d2n1w.X() << ","<< d2n1w.Y() << ","<< d2n1w.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2n1w = (" << d2n1w.X() << ","<< d2n1w.Y() << ","<< d2n1w.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
pdiff = (d2 - dn2w)*(1/deltat);
if ((pdiff-d2n2w).Magnitude() > 1.e-4*(pdiff.Magnitude()+1.e-1))
{
cout << "d2n2w = (" << d2n2w.X() << ","<< d2n2w.Y() << ","<< d2n2w.Z() << ")"<<endl;
cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<endl;
std::cout << "d2n2w = (" << d2n2w.X() << ","<< d2n2w.Y() << ","<< d2n2w.Z() << ")"<<std::endl;
std::cout << "Diff fi = (" << pdiff.X() << ","<< pdiff.Y() << ","<< pdiff.Z() << ")"<<std::endl;
}
for ( ii=1; ii<=4; ii++) {
if (Abs(VDiff(ii)-D2EDT2(ii)) > 1.e-4*(Abs(D2EDT2(ii))+1.e-1))
{
cout << "erreur sur D2EDT2 : "<< ii << endl;
cout << D2EDT2(ii) << " D.F = " << VDiff(ii) << endl;
std::cout << "erreur sur D2EDT2 : "<< ii << std::endl;
std::cout << D2EDT2(ii) << " D.F = " << VDiff(ii) << std::endl;
}
for (jj=1; jj<=4; jj++) {
if (Abs(MDiff(ii,jj)-D2EDXDT(ii, jj)) >
1.e-3*(Abs(D2EDXDT(ii, jj))+1.e-2))
{
cout << "erreur sur D2EDXDT : "<< ii << " , " << jj << endl;
cout << D2EDXDT(ii,jj) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDXDT : "<< ii << " , " << jj << std::endl;
std::cout << D2EDXDT(ii,jj) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1782,8 +1782,8 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 1)) >
1.e-4*(Abs(D2EDX2(ii, jj, 1))+1.e-1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 1 << endl;
cout << D2EDX2(ii,jj, 1) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 1 << std::endl;
std::cout << D2EDX2(ii,jj, 1) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1795,8 +1795,8 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 2)) >
1.e-4*(Abs(D2EDX2(ii, jj, 2))+1.e-1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 2 << endl;
cout << D2EDX2(ii,jj, 2) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 2 << std::endl;
std::cout << D2EDX2(ii,jj, 2) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1807,8 +1807,8 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 3)) >
1.e-4*(Abs(D2EDX2(ii, jj, 3))+1.e-1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 3 << endl;
cout << D2EDX2(ii,jj, 3) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , " << 3 << std::endl;
std::cout << D2EDX2(ii,jj, 3) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1820,9 +1820,9 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (Abs(MDiff(ii,jj)-D2EDX2(ii, jj, 4)) >
1.e-4*(Abs(D2EDX2(ii, jj, 4))+1.e-1))
{
cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , "
<< 4 << endl;
cout << D2EDX2(ii,jj, 4) << " D.F = " << MDiff(ii,jj) << endl;
std::cout << "erreur sur D2EDX2 : "<< ii << " , " << jj << " , "
<< 4 << std::endl;
std::cout << D2EDX2(ii,jj, 4) << " D.F = " << MDiff(ii,jj) << std::endl;
}
}
}
@@ -1935,13 +1935,13 @@ Standard_Boolean BlendFunc_EvolRad::Section
if (norm1 < Eps) {
norm1 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}
if (norm2 < Eps) {
norm2 = 1; // Unsatisfactory, but it is not necessary to stop
#ifdef OCCT_DEBUG
cout << " EvolRad : Surface singuliere " << endl;
std::cout << " EvolRad : Surface singuliere " << std::endl;
#endif
}