26 #ifndef __SphericalCoordinates_HH__
27 #define __SphericalCoordinates_HH__
29 #include <Geometry/CoordinateTransform3D.hh>
30 #include <Base/Geometry/HomgPoint3D.hh>
73 double& phi,
double& theta)
const;
const CoordinateTransform3D & GetAffineBase() const
void GetCartesianRayFromFullPhi(const double &phi, const double &theta, HomgPoint3D &ray) const
Calculates the Euclidean ray belonging to the passed angles in the world coordinate frame...
void SetAffineBase(const CoordinateTransform3D &newAffineBase)
Sets the "local" coordinate frame of the spherical coordinates.
class HomgPoint3D describes a point with 3 degrees of freedom in projective coordinates.
void GetSphericalCoordinatesFullPhi(const HomgPoint3D &point, double &rho, double &phi, double &theta) const
Method calculates spherical coordinates, hereby phi will lie in the range (-M_PI, M_PI] while theta l...
CoordinateTransform3D affineReferenceFrame_
Defines the reference frame (see discussion in CoordinateTransform3D).
Transformation between affine and spherical coordinates.