\begin{ccRefClass} {Feature_dimension} \ccDefinition The class \ccRefName\ allows to retrieve the geometric dimension of a type \ccc{T} in a kernel \ccc{K}. \ccParameters The parameter \ccc{K} has the default value \ccc{Kernel_traits::Kernel}. \ccInclude{CGAL/Dimension.h} \ccConstants \ccVariable{static const int value;}{The dimension value as a compile-time integral constant. It is implemented as \ccc{K::Feature_dimension::type::value}. It exists only when the dimension is a compile-time constant.} \ccTypes \ccNestedType{type}{Either \ccc{Dimension_tag} if the dimension is a compile-time constant of value \ccc{dim}, or \ccc{Dynamic_dimension_tag} otherwise. It is implemented as \ccc{K::Feature_dimension::type}. } \ccExample The following retrieves the dimension of a point type. \begin{cprog} typedef K::Point_2 Point; int dimension = Feature_dimension::value; assert(dimension == 0); \end{cprog} \ccSeeAlso \ccRefConceptPage{CGAL::Dimension_tag} \\ \ccRefConceptPage{CGAL::Dynamic_dimension_tag} \\ \ccRefConceptPage{CGAL::Ambient_dimension} \end{ccRefClass}