COIN-OR::LEMON - Graph Library

Changeset 280:e7f8647ce760 in lemon for lemon/graph_to_eps.h


Ignore:
Timestamp:
07/14/08 16:23:11 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Remove todo-s and convert them to trac tickets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r253 r280  
    667667  ///it draws the graph.
    668668  void run() {
    669     //\todo better 'epsilon' would be nice here.
    670669    const double EPSILON=1e-9;
    671670    if(dontPrint) return;
     
    708707      for(ArcIt e(g);e!=INVALID;++e)
    709708        max_w=std::max(double(_arcWidths[e]),max_w);
    710       //\todo better 'epsilon' would be nice here.
    711709      if(max_w>EPSILON) {
    712710        _arcWidthScale/=max_w;
     
    718716      for(NodeIt n(g);n!=INVALID;++n)
    719717        max_s=std::max(double(_nodeSizes[n]),max_s);
    720       //\todo better 'epsilon' would be nice here.
    721718      if(max_s>EPSILON) {
    722719        _nodeScale/=max_s;
     
    874871      }
    875872      else {
    876         //\todo Verify centering
    877873        double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(),
    878874                  (A4WIDTH-2*A4BORDER)/bb.height());
     
    907903            dvec(mycoords[g.target(*i)]-mycoords[g.source(*i)]);
    908904          double l=std::sqrt(dvec.normSquare());
    909           //\todo better 'epsilon' would be nice here.
    910905          dim2::Point<double> d(dvec/std::max(l,EPSILON));
    911906          dim2::Point<double> m;
Note: See TracChangeset for help on using the changeset viewer.