code::DataConverter::LatLonPolarLookup Class Reference

List of all members.

Detailed Description

A lookup that saves the computations required in doing a latlongrid-to-polargrid lookup.

The height of the LatLonGrid is ignored in this calculation.

Author:
Lakshman
Version:
Id
code_DataConverter.h,v 1.16 2010/09/24 17:23:58 lakshman Exp


Public Member Functions

 LatLonPolarLookup (const Location &northWestCorner, const LatLonGrid::DimType &gridSpacing, const LatLonGrid::Coord &gridSize, const Location &radar, const Length &distanceToFirstGate, const Angle &angularResolution, const Length &radialResolution, size_t numGates)
 Construct a lookup based on this LatLonGrid's dimensions and spacing and into this PolarGrid's center and spacing.
bool getIndex (const Angle &az, const Length &range, int &x, int &y) const
 get index x,y into lat-lon-grid.
bool getIndex (int radial_no, int gate_no, int &x, int &y) const
 NO check is done on dimensions!

Friends

class DataConverter


Constructor & Destructor Documentation

code::DataConverter::LatLonPolarLookup::LatLonPolarLookup ( const Location northWestCorner,
const LatLonGrid::DimType &  gridSpacing,
const LatLonGrid::Coord &  gridSize,
const Location radar,
const Length distanceToFirstGate,
const Angle angularResolution,
const Length radialResolution,
size_t  numGates 
)

Construct a lookup based on this LatLonGrid's dimensions and spacing and into this PolarGrid's center and spacing.


Member Function Documentation

bool code::DataConverter::LatLonPolarLookup::getIndex ( int  radial_no,
int  gate_no,
int &  x,
int &  y 
) const

NO check is done on dimensions!

bool code::DataConverter::LatLonPolarLookup::getIndex ( const Angle az,
const Length range,
int &  x,
int &  y 
) const

get index x,y into lat-lon-grid.

Returns:
false this radial gate combo is not computed (such as if it is beyond the domain of the input lat-lon-grid).


Friends And Related Function Documentation

friend class DataConverter [friend]


Generated on Fri May 4 13:40:11 2012 for WDSS-IIw2 by  doxygen 1.4.7