0022312: Translation of french commentaries in OCCT files
[occt.git] / src / CSLib / CSLib_Class2d.cxx
index 9208950..fb53e5b 100755 (executable)
@@ -83,8 +83,8 @@ void CSLib_Class2d::Destroy() {
   }
 }
 
-//-- Attention   Tableau de 0 ------> N + 1 
-//--                        P1 ..... Pn P1
+//-- Attention   Table of 0 ------> N + 1 
+//--                      P1 ..... Pn P1
 //--
 //--     1  2  3
 //--     4  0  5
@@ -119,7 +119,7 @@ Standard_Integer CSLib_Class2d::SiDans(const gp_Pnt2d& P) const
 
 
   Standard_Integer res = InternalSiDansOuOn(x,y);
-  if(res==-1) {     //-- on est peut etre ON 
+  if(res==-1) {    
     return 0;
   }
   if(Tolu || Tolv) {
@@ -148,7 +148,7 @@ Standard_Integer CSLib_Class2d::SiDans_OnMode(const gp_Pnt2d& P,
   aTolu=Tol; 
   aTolv=Tol; 
 
-  //-- ****** A FAIRE PLUS TARD, ESTIMER EN CHAQUE POINT la Tol2d en fct de la Tol3d *****
+  //-- ****** TO DO LATER, ESTIMATE AT EACH POINT Tol2d depending on Tol3d *****
   if(Umin<Umax && Vmin<Vmax) { 
     if(x<(Umin-aTolu) || (x>Umax+aTolu) || 
        (y<Vmin-aTolv) || (y>Vmax+aTolv)) {
@@ -212,7 +212,7 @@ Standard_Integer CSLib_Class2d::InternalSiDans(const Standard_Real Px,
 //modified by NIZNHY-PKV Fri Jan 15 09:03:48 2010f
 //=======================================================================
 //function : InternalSiDansOuOn
-//purpose  :  meme code que ci-dessus + test sur ON (return(-1) dans ce cas
+//purpose  : same code as above + test on ON (return(-1) in this case
 //=======================================================================
 Standard_Integer CSLib_Class2d::InternalSiDansOuOn(const Standard_Real Px,
                                                   const Standard_Real Py) const