COIN-OR::LEMON - Graph Library

Changeset 98:f60f89147531 in glemon-0.x for mapstorage.h


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mapstorage.h

    r94 r98  
    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.