1 /**********************************************************
2  * Version $Id$
3  *********************************************************/
4 #ifndef __GRID_H
5 #define __GRID_H
6 
7 
8 #include "gr_def.h"
9 
10 #include "MLB_Interface.h"
11 
12 class GridWerte :public CSG_Grid
13 {
14 public:
15 
16 	GridWerte(void);
17 	virtual ~GridWerte(void);
18 
19 	double			dxy, xll, yll;
20 	long			xanz, yanz;
21 
22 	void			getMem		(void);
23 	void			freeMem		(void);
24 
25 	GridWerte &		operator =	(const GridWerte& W);
26 
27 	void			calcMinMax	(void);
getMax(void)28 	double			getMax		(void) const	{ return( maxy ); };
getMin(void)29 	double			getMin		(void) const	{ return( miny ); };
30 
31 	bool			getHoeheRechtsHoch	(double x, double y, double& erg) const;
32 
33 
34 private:
35 
36 	double			maxy, miny;
37 
38 };
39 
40 
41 #endif
42 
43