LevelS C++ support library  3.83
Public Member Functions | List of all members
Trafo Class Reference

#include <trafos.h>

Public Member Functions

 Trafo (double iepoch, double oepoch, coordsys isys, coordsys osys)
 
vec3 operator() (const vec3 &vec) const
 
pointing operator() (const pointing &ptg) const
 
void rotatefull (const pointing &ptg, pointing &newptg, double &delta_psi) const
 
void rotatefull (pointing &ptg, double &psi) const
 
void rotatefull (const vec3 &vec, vec3 &newvec, double &delta_psi) const
 
void rotatefull (vec3 &vec, double &psi) const
 
const rotmatrixMatrix () const
 

Detailed Description

Class for celestial coordinate transformations.

Definition at line 41 of file trafos.h.

Constructor & Destructor Documentation

◆ Trafo()

Trafo::Trafo ( double  iepoch,
double  oepoch,
coordsys  isys,
coordsys  osys 
)

Creates a Trafo for transformation from iepoch and isys to oepoch and osys.

Definition at line 161 of file trafos.cc.

Member Function Documentation

◆ operator()() [1/2]

vec3 Trafo::operator() ( const vec3 vec) const
inline

Transforms the vector vec and returns the result.

Definition at line 63 of file trafos.h.

◆ operator()() [2/2]

pointing Trafo::operator() ( const pointing ptg) const

Transforms the pointing ptg and returns the result.

Definition at line 164 of file trafos.cc.

◆ rotatefull() [1/4]

void Trafo::rotatefull ( const pointing ptg,
pointing newptg,
double &  delta_psi 
) const

Transforms the pointing ptg and returns it in newptg. On exit, delta_psi holds the change in orientation.

Definition at line 167 of file trafos.cc.

◆ rotatefull() [2/4]

void Trafo::rotatefull ( pointing ptg,
double &  psi 
) const

Transforms the pointing ptg and adjusts psi accordingly.

Definition at line 178 of file trafos.cc.

◆ rotatefull() [3/4]

void Trafo::rotatefull ( const vec3 vec,
vec3 newvec,
double &  delta_psi 
) const

Transforms the vector vec and returns it in newvec. On exit, delta_psi holds the change in orientation.

Definition at line 188 of file trafos.cc.

◆ rotatefull() [4/4]

void Trafo::rotatefull ( vec3 vec,
double &  psi 
) const

Transforms the vector vec and adjusts psi accordingly.

Definition at line 196 of file trafos.cc.

◆ Matrix()

const rotmatrix& Trafo::Matrix ( ) const
inline

Returns the internally used rotation matrix.

Definition at line 85 of file trafos.h.


The documentation for this class was generated from the following files:

Generated on Wed Nov 13 2024 12:18:16 for LevelS C++ support library