Denote a point in the spherical coordinate.
More...
#include <SpherePosition.hpp>
Public Attributes |
double | r |
| radial distance, .
|
double | theta |
| (rad) angle with respect to +Z axis, .
|
double | phi |
| (rad) angle with respect to +X axis on the XY plane, .
|
Detailed Description
Denote a point in the spherical coordinate.
Constructor & Destructor Documentation
SpherePosition::SpherePosition |
( |
double |
a, |
|
|
double |
t, |
|
|
double |
p |
|
) |
| |
- Parameters
-
a | radial distance, . |
t | theta (rad) angle with respect to +Z axis, . |
p | phi (rad) angle with respect to +X axis on the XY plane, . |
SpherePosition::SpherePosition |
( |
double |
t, |
|
|
double |
p |
|
) |
| |
Create a vector of unit length with the given angles.
Member Function Documentation
Convert to the Cartesian coordinate.
Member Data Documentation
double SpherePosition::phi |
(rad) angle with respect to +X axis on the XY plane, .
radial distance, .
double SpherePosition::theta |
(rad) angle with respect to +Z axis, .
The documentation for this class was generated from the following files: