#include <vector>
-
+// Do define OPTIMIZE here and not in makefile to avoid problems
+// due to different sizeof(TransformedTriangle) in different packages
+#define OPTIMIZE
#ifdef OPTIMIZE
/// OPT_INLINE will be replaced by "inline" if OPTIMIZE is defined and else nothing
enum DoubleProduct { C_YZ = 0, C_ZX, C_XY, C_ZH, C_XH, C_YH, C_01, C_10, NO_DP };
TransformedTriangle(double* p, double* q, double* r);
- ~TransformedTriangle();
+ virtual ~TransformedTriangle();
double calculateIntersectionVolume();