Class SphericalCoor3D

class SphericalCoor3D

Type class which represents coordinates in spherical space.

Allows transformation into other coordinate representations and implements some basic linear algebra.

Spherical coords have a range:

  • r >= 0

  • 0 <= phi < 2 M_PI

  • 0 <= theta < M_PI