version 3.10-dev
boundingsphere.hh File Reference

A function to compute bounding spheres of points clouds or convex polytopes. More...

#include <algorithm>
#include <vector>
#include <dumux/geometry/sphere.hh>

Go to the source code of this file.

Classes

struct  Dumux::Detail::PointsToGeometryWrapper< Scalar, dim >
 

Namespaces

namespace  Dumux
 
namespace  Dumux::Detail
 Distance implementation details.
 

Functions

template<class ConvexGeometry >
static Sphere< typename ConvexGeometry::ctype, ConvexGeometry::coorddimension > Dumux::boundingSphere (const ConvexGeometry &geometry)
 Computes a bounding sphere of a convex polytope geometry (Dune::Geometry interface) More...
 
template<class Scalar , int dim>
static Sphere< Scalar, dim > Dumux::boundingSphere (const std::vector< Dune::FieldVector< Scalar, dim > > &points)
 Computes a bounding sphere of points. More...
 
Include dependency graph for boundingsphere.hh: