code: public NumberExpression<Integer> dimension() {
          if (dimension == null) {
              dimension = Expressions.numberOperation(Integer.class, SpatialOps.DIMENSION, mixin);
          }
          return dimension;
      }
docs: The inherent dimension of this geometric object, which must be less than or equal
  to the coordinate dimension. In non-homogeneous collections, this will return the largest topological
  dimension of the contained objects.
  
  @return dimension