Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

router.h File Reference


Detailed Description

Contains the interface for the Router class.

Definition in file router.h.

#include <list>
#include <utility>
#include <string>
#include "libavoid/shape.h"
#include "libavoid/viscluster.h"
#include "libavoid/graph.h"
#include "libavoid/timer.h"
#include "libavoid/connector.h"

Go to the source code of this file.

Namespaces

namespace  Avoid

Classes

class  Avoid::Router
 The Router class represents a libavoid router instance. More...

Typedefs

typedef std::list< ActionInfo > Avoid::ActionInfoList
typedef std::list< unsigned int > Avoid::IntList

Enumerations

enum  Avoid::PenaltyType {
  Avoid::segmentPenalty = 0, Avoid::anglePenalty, Avoid::crossingPenalty, Avoid::clusterCrossingPenalty,
  Avoid::fixedSharedPathPenalty, lastPenaltyMarker
}
 Types of penalty cases that can be used to improve the quality of the connector routes produced. More...
enum  Avoid::RouterFlag { Avoid::PolyLineRouting = 1, Avoid::OrthogonalRouting = 2 }
 Flags that can be passed to the router during initialisation to specify options. More...

Variables

static const double Avoid::chooseSensiblePenalty = -1
static const double Avoid::noPenalty = 0
static const unsigned int Avoid::runningFrom = 2
static const unsigned int Avoid::runningTo = 1
static const unsigned int Avoid::runningToAndFrom = runningTo | runningFrom


Generated by  Doxygen 1.6.0   Back to index