Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

conversion.cc File Reference

#include "matrixbk.hh"
#include "constants.hh"
#include "readinput.hh"
#include "orbitbk.hh"
#include "slcimage.hh"
#include "exceptions.hh"
#include "conversion.hh"
#include "ioroutines.hh"
#include "utilities.hh"
#include "refsystems.hh"
#include <cmath>

Go to the source code of this file.

Functions

void pol2xyz (cn &xyz, real8 phi, real8 lon, real8 height)
void xyz2pol (const cn &xyz, real8 &phi, real8 &lambda, real8 &height)
void xyz2ell (const input_ell &ell, const cn &xyz, real8 &phi, real8 &lambda, real8 &height)
void xyz2ell (const input_ell &ell, const cn &xyz, real8 &phi, real8 &lambda)
void ell2xyz (const input_ell &ell, cn &xyz, real8 phi, real8 lambda, real8 height)
void tiepoint (const input_gen &generalinput, const slcimage &master, const slcimage &slave, orbit &masterorbit, orbit &slaveorbit, const input_ell &ellips)


Function Documentation

void ell2xyz const input_ell ell,
cn xyz,
real8  phi,
real8  lambda,
real8  height
 

Definition at line 189 of file conversion.cc.

References input_ell::a, cos(), input_ell::e2, real8, sin(), sqr(), cn::x, cn::y, and cn::z.

Referenced by ell2lp(), main(), radarcodedem(), and tiepoint().

void pol2xyz cn xyz,
real8  phi,
real8  lon,
real8  height
 

Definition at line 68 of file conversion.cc.

References cos(), RADIUS, real8, sin(), TRACE_FUNCTION, cn::x, cn::y, and cn::z.

Referenced by slcimage::fillslcimage().

void tiepoint const input_gen generalinput,
const slcimage master,
const slcimage slave,
orbit masterorbit,
orbit slaveorbit,
const input_ell ellips
 

Definition at line 243 of file conversion.cc.

References abs(), DEBUG, deg2rad(), cn::dist(), ell2xyz(), orbit::getxyz(), INFO, int32, slcimage::line2ta(), lp2xyz(), orbit::npoints(), PI, slcimage::pix2tr(), bk_messages::precision(), bk_messages::print(), PROGRESS, real8, bk_messages::reset(), SOL, slcimage::ta2line(), input_gen::tiepoint, slcimage::tr2pix(), TRACE_FUNCTION, WARNING, slcimage::wavelength, bk_messages::width(), cn::x, xyz2lp(), xyz2orb(), xyz2t(), cn::y, and cn::z.

Referenced by main().

void xyz2ell const input_ell ell,
const cn xyz,
real8 phi,
real8 lambda
 

Definition at line 157 of file conversion.cc.

References input_ell::a, input_ell::b, cos(), input_ell::e2, input_ell::e2b, real8, sin(), sqr(), TRACE_FUNCTION, cn::x, cn::y, and cn::z.

Referenced by lp2ell(), and slant2hrodriguez().

void xyz2ell const input_ell ell,
const cn xyz,
real8 phi,
real8 lambda,
real8 height
 

Definition at line 122 of file conversion.cc.

void xyz2pol const cn xyz,
real8 phi,
real8 lambda,
real8 height
 

Definition at line 93 of file conversion.cc.

References cos(), RADIUS, real8, sqr(), TRACE_FUNCTION, cn::x, cn::y, and cn::z.


Generated on Fri Apr 22 15:58:05 2005 for Doris by doxygen 1.3.6