![]() |
Reference documentation for deal.II version 8.5.1
|
Functions | |
template<int dim> | |
std_cxx11::array< double, dim > | to_spherical (const Point< dim > &point) |
template<std::size_t dim> | |
Point< dim > | from_spherical (const std_cxx11::array< double, dim > &scoord) |
static::ExceptionBase & | NegativeRadius (double arg1) |
static::ExceptionBase & | SphericalAzimuth (double arg1) |
static::ExceptionBase & | SphericalPolar (double arg1) |
A namespace for coordinate transformations.
std_cxx11::array< double, dim > GeometricUtilities::Coordinates::to_spherical | ( | const Point< dim > & | point | ) |
Return spherical coordinates of a Cartesian point point
. The returned array is filled with radius, azimuth angle and polar/inclination angle
(ommited in 2D).
In 3D the transformation is given by
Definition at line 44 of file geometric_utilities.cc.
Point< dim > GeometricUtilities::Coordinates::from_spherical | ( | const std_cxx11::array< double, dim > & | scoord | ) |
Return the Cartesian coordinates of a spherical point defined by scoord
which is filled with radius , azimuth angle
and polar/inclination angle
(ommited in 2D).
In 3D the transformation is given by
Definition at line 70 of file geometric_utilities.cc.