0022312: Translation of french commentaries in OCCT files
[occt.git] / src / BRepTopAdaptor / BRepTopAdaptor_HVertex.cxx
index 7dfef9e..aa53093 100755 (executable)
@@ -18,7 +18,7 @@ BRepTopAdaptor_HVertex::BRepTopAdaptor_HVertex
 gp_Pnt2d BRepTopAdaptor_HVertex::Value ()
 {
 //  return myCurve->Value(Parameter(myCurve));
-  return gp_Pnt2d(RealFirst(),RealFirst()); // rien a faire
+  return gp_Pnt2d(RealFirst(),RealFirst()); // do nothing 
 }
 
 Standard_Real BRepTopAdaptor_HVertex::Parameter 
@@ -65,13 +65,13 @@ Standard_Real BRepTopAdaptor_HVertex::Resolution
 
   }
 
-  // a defaut de mieux on borne la resolution parametrique a 
-  // 10 million*la tolerance du point
+  // for lack of better options limit the parametric solution to 
+  // 10 million*tolerance of the point
 
   if(tv > 1.e7*mag) ResUV = 1.e7;
   else ResUV = tv/mag;
 
-  // Controle
+  // Control
   if (Or == TopAbs_REVERSED) pp = p+ResUV;
   else pp = p-ResUV;
 
@@ -85,7 +85,7 @@ Standard_Real BRepTopAdaptor_HVertex::Resolution
 
   Standard_Real Dist=P.Distance(P1);
   if ((Dist>1e-12) && ((Dist > 1.1*tv) || (Dist< 0.8*tv))) {
-  // Raffinement si possible
+  // Refine if possible
     Standard_Real Dist1;
     if (Or == TopAbs_REVERSED) pp = p+tv/Dist;
     else pp = p-tv/Dist;
@@ -98,7 +98,7 @@ Standard_Real BRepTopAdaptor_HVertex::Resolution
     DC.SetLinearForm(v2d.X(),DU,v2d.Y(),DV);
     Dist1 = P.Distance(P1);
     if (Abs(Dist1-tv) < Abs(Dist-tv)) {
-      // On prend le resultat d'interpolation
+      // Take the result of interpolation
       ResUV = tv/Dist;
       Dist = Dist1;
     }
@@ -115,7 +115,7 @@ Standard_Real BRepTopAdaptor_HVertex::Resolution
     S.D0(p2d.X(),p2d.Y(),P1);
     Dist1 = P.Distance(P1);
     if (Abs(Dist1-tv) < Abs(Dist-tv)) {
-      // On prend la nouvelle estimation
+      // Take the new estimation
       ResUV = tv/mag;
       Dist = Dist1;
     }