]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
staffan :
authorvbd <vbd>
Wed, 22 Aug 2007 14:48:16 +0000 (14:48 +0000)
committervbd <vbd>
Wed, 22 Aug 2007 14:48:16 +0000 (14:48 +0000)
* creation of the Intersector Abstract Base class

src/INTERP_KERNEL/Intersector.hxx [new file with mode: 0644]

diff --git a/src/INTERP_KERNEL/Intersector.hxx b/src/INTERP_KERNEL/Intersector.hxx
new file mode 100644 (file)
index 0000000..bee248d
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef __INTERSECTOR__HXX__
+#define __INTERSECTOR__HXX__
+
+namespace MEDMEM
+{
+  class Intersector
+  {
+  public:
+    virtual ~Intersector() {}
+    
+    /**
+     * Calculate the volume of the intersection of two cells
+     *
+     * @param srcCell     global number of the source cell
+     * @param targetCell  global number of the target cell
+     */
+    virtual double intersectCells(int srcCell, int targetCell) = 0;
+  };
+};
+
+#endif