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

Classes | Namespaces | Typedefs | Enumerations | Variables

router.h File Reference

Contains the interface for the Router class. More...

#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"
Include dependency graph for router.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


namespace  Avoid

The namespace used by code in the libavoid library.


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


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.

enum  Avoid::RouterFlag { Avoid::PolyLineRouting = 1, Avoid::OrthogonalRouting = 2 }

Flags that can be passed to the router during initialisation to specify options.



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

Detailed Description

Contains the interface for the Router class.

Definition in file router.h.

Generated by  Doxygen 1.6.0   Back to index