Overview of the Regrid classes.
class Regrid
{
public:
// 'tors
Regrid();
Regrid(Utm
&, Utm &, Utm &);
Regrid(int, int);
~Regrid();
Regrid(Regrid &);
// action functions.
Regrid &reset(void);
Regrid &reset(Utm
&, Utm &, Utm &);
Regrid &reset(int,
int);
void
act(unsigned int , doubleLandscape &, unsigned int, doubleLandscape
&);
void
act(doubleLandscape &, doubleLandscape &);
doubleLandscape
act(doubleLandscape &);
void
act(unsigned int, floatLandscape &, unsigned int, floatLandscape &);
void
act(floatLandscape &, floatLandscape &);
floatLandscape
act(floatLandscape &);
void
act(unsigned int, intLandscape &, unsigned int, intLandscape &);
void
act( intLandscape &, intLandscape &);
intLandscape act(intLandscape
&);
void
act(unsigned int, shortLandscape &, unsigned int, shortLandscape &);
void act(
shortLandscape &, shortLandscape &);
shortLandscape
act(shortLandscape &);
void
act(unsigned int, charLandscape &, unsigned int, charLandscape &);
void act(
charLandscape &, charLandscape &);
charLandscape act(charLandscape
&);
// action helper functions.
private:
int boxvalue(doubleLandscape &, Utm &,
Utm &, double &, char &);
int boxvalue(floatLandscape &, Utm &, Utm &, float &, char
&);
int boxvalue(intLandscape &, Utm &, Utm &, int &, char
&);
int boxvalue(shortLandscape &, Utm &, Utm &, short &, char
&);
int boxvalue(charLandscape &, Utm &, Utm &, char &, char
&);
Utm find_ul(Utm &, Utm &);
Utm find_lr(Utm &, Utm &);
// tell functions.
public:
Utm tell_ul();
Utm tell_lr();
Utm tell_res();
int tell_rows();
int tell_cols();
// auxiliary tell functions. ( for consistancy with older naming schemes
)
int tell_height();
int tell_width();
Utm tell_dims();
private:
Utm mC_ul;
Utm mC_lr;
Utm mC_res;
int mi_num_cols;
int mi_num_rows;
};