COIN-OR::LEMON - Graph Library

Changeset 1860:27a9a75b957b in lemon-0.x for gui/mapstorage.h


Ignore:
Timestamp:
12/17/05 21:55:41 (15 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2432
Message:

Save and load the coordinates of the arrows on the edges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/mapstorage.h

    r1837 r1860  
    2424
    2525  Graph graph;
     26  /// the coordinates of the nodes
    2627  XYMap<Graph::NodeMap<double> > coords;
     28  /// the coordinates of the arrows on the edges
     29  XYMap<Graph::EdgeMap<double> > arrow_pos;
    2730
    2831  bool modified;
     
    5255  // Default values for the maps
    5356  std::map< std::string, double > edgemap_default;
     57
     58  bool arrow_pos_read_ok;
    5459
    5560protected:
     
    128133
    129134  void clear();
     135
     136  void ArrowPosReadOK();
    130137};
    131138
Note: See TracChangeset for help on using the changeset viewer.