]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message *** BR_FSH_DEV V6_0_0
authorageay <ageay>
Thu, 17 Dec 2009 11:23:07 +0000 (11:23 +0000)
committerageay <ageay>
Thu, 17 Dec 2009 11:23:07 +0000 (11:23 +0000)
src/INTERP_KERNEL/TransformedTriangle.cxx
src/INTERP_KERNEL/TransformedTriangle.hxx
src/INTERP_KERNEL/TransformedTriangleMath.cxx

index ad4255de308f4fe8f21e263b762d34dc7d09c350..f206d14db0bf48df9e426a67d2f60a35470ca679 100644 (file)
@@ -126,7 +126,7 @@ namespace INTERP_KERNEL
     _coords[5*Q + 4] = 1 - q[0] - q[1];
     _coords[5*R + 4] = 1 - r[0] - r[1];
 
-               resetNearZeroCoordinates();
+    resetNearZeroCoordinates();
 
     // initialise rest of data
     preCalculateDoubleProducts();
index c950313a5df44521c0ef5f803f4f9b3e01d78949..53122c6235d7cf2e6ff6834cc62d339230476303 100644 (file)
@@ -224,7 +224,7 @@ namespace INTERP_KERNEL
     //  Double and triple product calculations                           
     // ----------------------------------------------------------------------------------
     
-               void resetNearZeroCoordinates();
+    void resetNearZeroCoordinates();
 
     bool areDoubleProductsConsistent(const TriSegment seg) const;
 
index e795fe0ec5282fbbcde1f46f72728f69fc80c219..a9c488267b91c689255bceb3eb88b5a8f91bb7b8 100644 (file)
@@ -73,15 +73,14 @@ namespace INTERP_KERNEL
   const double TransformedTriangle::TRIPLE_PRODUCT_ANGLE_THRESHOLD = 0.1;
 
 
-
-       // after transformation to the U-space, coordinates are inaccurate
-       // small variations around zero should not be taken into account
-       void TransformedTriangle::resetNearZeroCoordinates()
-       {
-               for (int i=0; i<15; i++)
-                       if (fabs(_coords[i])<TransformedTriangle::MACH_EPS*20.0) _coords[i]=0.0;
-       }
-
+  // after transformation to the U-space, coordinates are inaccurate
+  // small variations around zero should not be taken into account
+  void TransformedTriangle::resetNearZeroCoordinates()
+  {
+    for (int i=0; i<15; i++)
+      if (fabs(_coords[i])<TransformedTriangle::MACH_EPS*20.0) _coords[i]=0.0;
+  }
+  
   // ----------------------------------------------------------------------------------
   //  Double and triple product calculations                           
   // ----------------------------------------------------------------------------------