Changeset 2207:75a29ac69c19 in lemon-0.x for demo/descriptor_map_demo.cc
- Timestamp:
- 09/07/06 15:27:16 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/descriptor_map_demo.cc
r2081 r2207 30 30 #include <lemon/graph_utils.h> 31 31 #include <lemon/graph_writer.h> 32 #include <lemon/ xy.h>32 #include <lemon/dim2.h> 33 33 #include <lemon/graph_to_eps.h> 34 34 … … 41 41 using namespace lemon; 42 42 43 // Special xy<double> map type43 // Special dim2::Point<double> map type 44 44 // 45 45 // It gives back a position for each node. The position of the nodes … … 52 52 public: 53 53 54 typedef xy<double> Value;54 typedef dim2::Point<double> Value; 55 55 typedef typename Graph::Node Key; 56 56 … … 119 119 // Make postscript from the graph. 120 120 121 CircleMap<Graph> coords(graph, xy<double>(0.0, 0.0), 10.0);121 CircleMap<Graph> coords(graph, dim2::Point<double>(0.0, 0.0), 10.0); 122 122 123 123 graphToEps(graph,"descriptor_map_demo.eps").scaleToA4().
Note: See TracChangeset
for help on using the changeset viewer.