A function to compute bounding spheres of points clouds or convex polytopes.
#include <algorithm>
#include <vector>
#include <dumux/geometry/sphere.hh>
Go to the source code of this file.
|
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)
|
|
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.
|
|