Function Dune::XT::Grid::diameter

template<class C, class I>
double Dune::XT::Grid::diameter(const internal::CouplingIntersectionWithCorrectNormal<C, I> &intersection)

Returns the diameter (largest distance between any two corners) of a coupling intersection.

template<class G, class I>
double Dune::XT::Grid::diameter(const int &intersection)

Returns the diameter of an intersection, i.e. the largest distance between any two of its corners.

template<int codim, int worlddim, class GridImp, template<int, int, class> class EntityImp>
double Dune::XT::Grid::diameter(const int &entity)

Computes the diameter of an entity as the maximum distance between any two of its corners.