COIN-OR::LEMON - Graph Library

Changeset 2207:75a29ac69c19 in lemon-0.x for demo/descriptor_map_demo.cc


Ignore:
Timestamp:
09/07/06 15:27:16 (18 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
Message:

xy -> dim2::Point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/descriptor_map_demo.cc

    r2081 r2207  
    3030#include <lemon/graph_utils.h>
    3131#include <lemon/graph_writer.h>
    32 #include <lemon/xy.h>
     32#include <lemon/dim2.h>
    3333#include <lemon/graph_to_eps.h>
    3434
     
    4141using namespace lemon;
    4242
    43 // Special xy<double> map type
     43// Special dim2::Point<double> map type
    4444//
    4545// It gives back a position for each node. The position of the nodes
     
    5252public:
    5353
    54   typedef xy<double> Value;
     54  typedef dim2::Point<double> Value;
    5555  typedef typename Graph::Node Key;
    5656
     
    119119  // Make postscript from the graph.
    120120   
    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);
    122122   
    123123  graphToEps(graph,"descriptor_map_demo.eps").scaleToA4().
Note: See TracChangeset for help on using the changeset viewer.