Volume.h File Reference
#include <cmath>
+ Include dependency graph for Volume.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 

Functions

template<class RealType, class IteratorType>
RealType volumeOfHyperellipsoid (IteratorType beginRadii, IteratorType endRadii)
 Returns the volume of an hyperellipsoid with the radii contained by the range [beginRadii, endRadii).
 
template<class RealType>
RealType volumeOfHypersphere (std::size_t n, RealType radius)
 Returns the volume of a n dimensional hypersphere with radius radius.
 
template<class RealType>
RealType volumeOfHyperspheroid (std::size_t n, RealType polarRadius, RealType equatorialRadius)
 Returns the volume of a hyperspheroid with given dimensionality and radii.
 
template<class RealType>
RealType volumeOfUnitHypersphere (std::size_t n)
 Returns the volume of a n dimensional unit hypersphere.