31#pragma warning(disable:4786)
38template <
class Function>
42 table[type2][type1] = function;
43 table[type1][type2] = function;
47 return table[type1][type2];
Function lookup(ShapeType type1, ShapeType type2) const
void addEntry(ShapeType type1, ShapeType type2, Function function)
Intersect table[NUM_TYPES][NUM_TYPES]