Add function + enum to check element geometry

i.e. either T or Q