}
}
-//-- Attention Tableau de 0 ------> N + 1
-//-- P1 ..... Pn P1
+//-- Attention Table of 0 ------> N + 1
+//-- P1 ..... Pn P1
//--
//-- 1 2 3
//-- 4 0 5
Standard_Integer res = InternalSiDansOuOn(x,y);
- if(res==-1) { //-- on est peut etre ON
+ if(res==-1) {
return 0;
}
if(Tolu || Tolv) {
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)) {
//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