26 int main (
int argc,
char ** argv){
32 cout << pp.
x <<
" " << pp.
y << endl;
34 g1.
storage().setActiveArea(ps,
false);
37 cout <<
"cell value" << (int) g1.
cell(
Point(5.1,5.1)).value << endl;
38 g1.
resize(-150, -150, 150, 150);
39 cout <<
"cell value" << (int) g1.
cell(
Point(5.1,5.1)).value << endl;
43 cerr <<
"copy and modify test" << endl;
46 for (
int i=1; i<10; i++){
54 gp1->
storage().setActiveArea(ps,
false);
55 gp1->
storage().allocActiveArea();
57 cout <<
"cell value" << (int) gp1->
cell(
Point(5.1,5.1)).value << endl;
int main(int argc, char **argv)
std::set< point< int >, pointcomparator< int > > PointSet
static const SimpleCell & Unknown()
Cell & cell(int x, int y)
static SimpleCell * address
Map< SimpleCell, HierarchicalArray2D< SimpleCell > > CGrid
IntPoint world2map(const Point &p) const
void resize(double xmin, double ymin, double xmax, double ymax)