diff -r c3ff11b0025c -r 75a29ac69c19 demo/descriptor_map_demo.cc --- a/demo/descriptor_map_demo.cc Wed Sep 06 11:39:22 2006 +0000 +++ b/demo/descriptor_map_demo.cc Thu Sep 07 13:27:16 2006 +0000 @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include @@ -40,7 +40,7 @@ using namespace lemon; -// Special xy map type +// Special dim2::Point map type // // It gives back a position for each node. The position of the nodes // are on the circle with the given center and radius. @@ -51,7 +51,7 @@ class CircleMap { public: - typedef xy Value; + typedef dim2::Point Value; typedef typename Graph::Node Key; CircleMap(const Graph& _graph, @@ -118,7 +118,7 @@ // Make postscript from the graph. - CircleMap coords(graph, xy(0.0, 0.0), 10.0); + CircleMap coords(graph, dim2::Point(0.0, 0.0), 10.0); graphToEps(graph,"descriptor_map_demo.eps").scaleToA4(). title("Generated graph").