Make *GeometryTypeIndex constexpr
Make all methods constexpr. For some, this requires (at least for older compilers) to replace 'if' by a ternary operator.
Make all methods constexpr. For some, this requires (at least for older compilers) to replace 'if' by a ternary operator.