From aaf887718f5efe713e6080866aea3754343072ff Mon Sep 17 00:00:00 2001 From: vbd Date: Wed, 22 Aug 2007 14:48:16 +0000 Subject: [PATCH] staffan : * creation of the Intersector Abstract Base class --- src/INTERP_KERNEL/Intersector.hxx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/INTERP_KERNEL/Intersector.hxx diff --git a/src/INTERP_KERNEL/Intersector.hxx b/src/INTERP_KERNEL/Intersector.hxx new file mode 100644 index 000000000..bee248d85 --- /dev/null +++ b/src/INTERP_KERNEL/Intersector.hxx @@ -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 -- 2.39.2