From: ageay Date: Thu, 17 Dec 2009 11:23:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~267 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_FSH_DEV;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNEL/TransformedTriangle.cxx b/src/INTERP_KERNEL/TransformedTriangle.cxx index ad4255de3..f206d14db 100644 --- a/src/INTERP_KERNEL/TransformedTriangle.cxx +++ b/src/INTERP_KERNEL/TransformedTriangle.cxx @@ -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(); diff --git a/src/INTERP_KERNEL/TransformedTriangle.hxx b/src/INTERP_KERNEL/TransformedTriangle.hxx index c950313a5..53122c623 100644 --- a/src/INTERP_KERNEL/TransformedTriangle.hxx +++ b/src/INTERP_KERNEL/TransformedTriangle.hxx @@ -224,7 +224,7 @@ namespace INTERP_KERNEL // Double and triple product calculations // ---------------------------------------------------------------------------------- - void resetNearZeroCoordinates(); + void resetNearZeroCoordinates(); bool areDoubleProductsConsistent(const TriSegment seg) const; diff --git a/src/INTERP_KERNEL/TransformedTriangleMath.cxx b/src/INTERP_KERNEL/TransformedTriangleMath.cxx index e795fe0ec..a9c488267 100644 --- a/src/INTERP_KERNEL/TransformedTriangleMath.cxx +++ b/src/INTERP_KERNEL/TransformedTriangleMath.cxx @@ -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])