]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Avoid multiple symbol of TranslationRotationMatrix::EPS.
authorageay <ageay>
Mon, 13 Sep 2010 09:43:01 +0000 (09:43 +0000)
committerageay <ageay>
Mon, 13 Sep 2010 09:43:01 +0000 (09:43 +0000)
src/INTERP_KERNEL/Makefile.am
src/INTERP_KERNEL/TranslationRotationMatrix.cxx [new file with mode: 0644]
src/INTERP_KERNEL/TranslationRotationMatrix.hxx

index a125070120d5435e9922194a96ad1ba293a2150e..67e780fc0cf0ed11f84029a6053ac3bb72427dfa 100644 (file)
@@ -177,12 +177,13 @@ VolSurfUser.txx
 # Libraries targets
 
 dist_libinterpkernel_la_SOURCES = \
-       TransformedTriangle.cxx\
-       TransformedTriangleIntersect.cxx\
-       TransformedTriangleMath.cxx\
+       TransformedTriangle.cxx \
+       TransformedTriangleIntersect.cxx \
+       TransformedTriangleMath.cxx \
        BoundingBox.cxx \
-       TetraAffineTransform.cxx\
-       CellModel.cxx\
+       TranslationRotationMatrix.cxx \
+       TetraAffineTransform.cxx \
+       CellModel.cxx \
        UnitTetraIntersectionBary.cxx \
        InterpolationOptions.cxx \
        DirectedBoundingBox.cxx
diff --git a/src/INTERP_KERNEL/TranslationRotationMatrix.cxx b/src/INTERP_KERNEL/TranslationRotationMatrix.cxx
new file mode 100644 (file)
index 0000000..0e31b21
--- /dev/null
@@ -0,0 +1,22 @@
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "TranslationRotationMatrix.hxx"
+
+const double INTERP_KERNEL::TranslationRotationMatrix::EPS=1e-12;
index 8258cf18e28412661b58be0c875b4af34740a31b..6f6e411c29db80912208e8e68522f61462e7cdb1 100644 (file)
@@ -125,7 +125,6 @@ namespace INTERP_KERNEL
     double _rotation_coeffs[ROT_SIZE];
     double _translation_coeffs[TRANSL_SIZE];
   };
-  const double TranslationRotationMatrix::EPS=1e-12;
 }
 
 #endif