From: vbd Date: Wed, 22 Aug 2007 14:48:16 +0000 (+0000) Subject: staffan : X-Git-Tag: trio_trio_coupling~68 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aaf887718f5efe713e6080866aea3754343072ff;p=tools%2Fmedcoupling.git staffan : * creation of the Intersector Abstract Base class --- 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