#include <smallest_enclosing.h>
Static Public Member Functions | |
template<class SphereContType > | |
static SphereContType::value_type | SphereOfSpheres (const SphereContType &t) |
computes the smallest enclosing sphere of a container of spheres | |
template<class SphereType > | |
static SphereType | SphereOfSpheres (const SphereType &s0, const SphereType &s1) |
computes the smallest enclosing sphere of two spheres | |
template<class TetraType > | |
static Sphere3< typename TetraType::ScalarType > | SphereOfTetra (const TetraType &t) |
computes the smallest enclosing sphere of a tetrahedron | |
template<class TriangleType > | |
static Sphere3< typename TriangleType::ScalarType > | SphereOfTriangle (const TriangleType &t) |
computes the smallest enclosing sphere of a triangle |
Class for function computing the smallest enclosing bounding volume
Definition at line 58 of file smallest_enclosing.h.
SphereContType::value_type vcg::SmallestEnclosing::SphereOfSpheres | ( | const SphereContType & | t | ) | [inline, static] |
computes the smallest enclosing sphere of a container of spheres
Definition at line 115 of file smallest_enclosing.h.
SphereType vcg::SmallestEnclosing::SphereOfSpheres | ( | const SphereType & | s0, | |
const SphereType & | s1 | |||
) | [inline, static] |
computes the smallest enclosing sphere of two spheres
Definition at line 93 of file smallest_enclosing.h.
Sphere3< typename TetraType::ScalarType > vcg::SmallestEnclosing::SphereOfTetra | ( | const TetraType & | t | ) | [inline, static] |
computes the smallest enclosing sphere of a tetrahedron
Definition at line 86 of file smallest_enclosing.h.
Sphere3< typename TriangleType::ScalarType > vcg::SmallestEnclosing::SphereOfTriangle | ( | const TriangleType & | t | ) | [inline, static] |
computes the smallest enclosing sphere of a triangle
Definition at line 80 of file smallest_enclosing.h.