X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FPolygonAlgorithms.txx;h=bf606e92670e28092bc585af69afa95157e82212;hb=19a5d11f2c31745a83bd6993357263641c0babe5;hp=359155495aa179c40e8a04fb5bf63800138eb0c0;hpb=79386ac5c73f8365c428b8ef595c4ef004959667;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/PolygonAlgorithms.txx b/src/INTERP_KERNEL/PolygonAlgorithms.txx index 359155495..bf606e926 100644 --- a/src/INTERP_KERNEL/PolygonAlgorithms.txx +++ b/src/INTERP_KERNEL/PolygonAlgorithms.txx @@ -37,7 +37,7 @@ namespace INTERP_KERNEL /*************************************************************/ /* Computes the 3D intersection between two COPLANAR */ /* Segments [A,B] and [C,D], stores the result in V. */ - /* If A belongs to [CD] then the vertex E (preceeding A) */ + /* If A belongs to [CD] then the vertex E (preceding A) */ /* is used to decide if the crossing is real. If A coincides */ /* with C or D, a special treatment is performed */ /*************************************************************/ @@ -71,7 +71,7 @@ namespace INTERP_KERNEL { if(distance2(A,D)<_epsilon) crossprod(A,C,E,_vdouble);//store the crossprod between vectors AC and AE (E=vertex preceding A) - return false;//case of paralell segments + return false;//case of parallel segments } case 3://beware AB and CD may belong to a vertical plane det = determinant(&AB[1],&DC[1]);//determinant of the last two coefficients @@ -94,7 +94,7 @@ namespace INTERP_KERNEL { if(distance2(A,D)<_epsilon) crossprod(A,C,E,_vdouble);//store the crossprod between vectors AC and AE (E=vertex preceding A) - return false;//case of paralell segments + return false;//case of parallel segments } } } @@ -269,7 +269,7 @@ namespace INTERP_KERNEL /*******************************************************/ /* adds the possible crossings between segments [A,B] (with end-point global indices i and i_next) */ /*and segments [C,D] and [E,F] to the list inter and updates _End_segments */ - /* In cases of ambiguity, the vertex G is used to decide wether the crossing should be accepted */ + /* In cases of ambiguity, the vertex G is used to decide whether the crossing should be accepted */ /*******************************************************/ template inline void PolygonAlgorithms::addCrossings( const double * A, const double * B, int i , int i_next,