GLAMERDOC++
Gravitational Lensing Code Library
|
this data class represents a postion inspherical coordinates and a polarization relative to the sphircal coordinate system More...
#include <shear.h>
Public Attributes | |
Point_2d | shear |
T | kappa |
Public Attributes inherited from Utilities::Geometry::SphericalPoint< T > | |
T | r |
T | theta |
T | phi |
Additional Inherited Members | |
Public Member Functions inherited from Utilities::Geometry::SphericalPoint< T > | |
SphericalPoint (T r, T theta, T phi) | |
SphericalPoint (Point_3d< T > &x) | |
SphericalPoint & | operator= (const SphericalPoint &p) |
SphericalPoint & | operator= (Point_3d< T > &x) |
bool | operator== (const SphericalPoint &p) const |
void | TOcartisian (T x[]) const |
output Cartesian coordinates of the point | |
Point_3d< T > | TOcartisian () const |
output cartisian coordinates of the point | |
void | cartisianTOspherical (T const x[]) |
set the spherical coordinates of the point from the cartisian coordinates | |
void | TOspherical (Point_3d< T > &x) |
void | StereographicProjection (const SphericalPoint ¢ral, T x[]) const |
Calculates the stereographic projection of the point onto a plane. | |
void | StereographicProjection (const SphericalPoint ¢ral, Point_2d &x) const |
Point_2d | StereographicProjection (const SphericalPoint ¢ral) const |
void | OrthographicProjection (const SphericalPoint ¢ral, T x[]) const |
Calculates the orthographic projection of the point onto a plane. | |
Point_2d | OrthographicProjection (const SphericalPoint ¢ral) const |
void | InverseOrthographicProjection (const SphericalPoint ¢ral, T const x[]) |
Convert from an orthographic projection of the plane onto the unit sphere. | |
void | InverseOrthographicProjection (const SphericalPoint ¢ral, const Point_2d &x) |
SphericalPoint< T > | InverseOrthographicProjection (const Point_2d &x) |
T | angular_separation (SphericalPoint &p) |
angle between points. This uses the haversine formula that is more stable for small angles than the more commin formula | |
Point_3d< T > | unitPhi () |
unit vector in phi direction | |
Point_3d< T > | unitTheta () |
unit vector in theta direction | |
T | OrthographicAngleTheta (const SphericalPoint ¢ral) |
the angle between the orthographic x-axis and the constant theta curve | |
T | OrthographicAnglePhi (const SphericalPoint ¢ral) |
the angle between the orthographic x-axis and the constant Phi curve | |
Point_3d< T > | theta_hat () const |
Point_3d< T > | phi_hat () const |
this data class represents a postion inspherical coordinates and a polarization relative to the sphircal coordinate system