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

conversion.hh File Reference

#include "constants.hh"
#include "readinput.hh"
#include "orbitbk.hh"
#include "slcimage.hh"

Go to the source code of this file.

Functions

real8 deg2rad (real8 x)
real4 deg2rad (real4 x)
real8 rad2deg (real8 x)
real4 rad2deg (real4 x)
void pol2xyz (cn &xyz, real8 lat, real8 lon, real8 hei=0.)
void xyz2pol (const cn &xyz, real8 &lat, real8 &lon, real8 &hei)
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)
compli16 cr4toci2 (complr4 x)


Function Documentation

compli16 cr4toci2 complr4  x  )  [inline]
 

Definition at line 134 of file conversion.hh.

References compli16, and complr4.

Referenced by azimuthfilter(), OversampleSLC(), rangefilter(), rangefiltporbits(), and resample().

real4 deg2rad real4  x  )  [inline]
 

Definition at line 52 of file conversion.hh.

References PI, and real4.

Referenced by slcimage::fillslcimage(), main(), radarcodedem(), readinput(), readleader(), and tiepoint().

real8 deg2rad real8  x  )  [inline]
 

Definition at line 51 of file conversion.hh.

References PI, and real8.

Referenced by main().

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  lat,
real8  lon,
real8  hei = 0.
 

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().

real4 rad2deg real4  x  )  [inline]
 

Definition at line 54 of file conversion.hh.

References PI, and real4.

Referenced by checkcomprefdem(), checkfiltrange(), coarseporbit(), BASELINE::dump(), flatearth(), geocode(), BASELINE::model_parameters(), radarcodedem(), readleader(), slant2hambiguity(), and snaphu_unwrap().

real8 rad2deg real8  x  )  [inline]
 

Definition at line 53 of file conversion.hh.

References PI, and real8.

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.

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.

void xyz2pol const cn xyz,
real8 lat,
real8 lon,
real8 hei
 

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