xymap.h
changeset 150 86273bfe0e4d
parent 98 f60f89147531
child 174 95872af46fc4
     1.1 --- a/xymap.h	Tue Sep 19 07:43:55 2006 +0000
     1.2 +++ b/xymap.h	Thu Sep 21 10:29:29 2006 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  #define XYMAP_H
     1.5  
     1.6  #include <lemon/list_graph.h>
     1.7 -#include <lemon/xy.h>
     1.8 +#include <lemon/dim2.h>
     1.9  
    1.10  template<class M>
    1.11  class XYMap
    1.12 @@ -12,7 +12,7 @@
    1.13  
    1.14    public:
    1.15      typedef typename M::Key Key;
    1.16 -    typedef lemon::xy<typename M::Value> Value;
    1.17 +    typedef lemon::dim2::Point<typename M::Value> Value;
    1.18      XYMap() {}
    1.19      XYMap(M &_xmap, M &_ymap) : xmap(&_xmap), ymap(&_ymap) {}
    1.20      void setXMap(M &_xmap) { xmap = &_xmap; }