version 3.10-dev
circumsphere.hh File Reference

A function to compute the circumsphere of a given geometry. More...

#include <type_traits>
#include <dumux/common/math.hh>
#include <dumux/geometry/sphere.hh>

Go to the source code of this file.

Description

Note
The circumscribed sphere (or circumsphere) is a sphere touching all vertices of the geometry Therefore it does not necessarily exist for all geometries.

Namespaces

namespace  Dumux
 

Functions

template<class Point >
static Sphere< typename Point::value_type, Point::dimension > Dumux::circumSphereOfTriangle (const Point &a, const Point &b, const Point &c)
 Computes the circumsphere of a triangle. More...
 
template<class Geometry , typename std::enable_if_t< Geometry::mydimension==2, int > = 0>
static Sphere< typename Geometry::ctype, Geometry::coorddimension > Dumux::circumSphereOfTriangle (const Geometry &triangle)
 Computes the circumsphere of a triangle. More...
 
Include dependency graph for circumsphere.hh: