26#ifndef AVOID_VERTICES_H
27#define AVOID_VERTICES_H
59 static const unsigned short src;
60 static const unsigned short tar;
78 void print(FILE *file = stdout)
const;
119 const bool addToRouter =
true);
The Point class defines a point in the plane.
The Router class represents a libavoid router instance.
static const unsigned short tar
VertID operator+(const int &rhs) const
static const VertIDProps PROP_DummyPinHelper
static const VertIDProps PROP_ConnCheckpoint
static const VertIDProps PROP_OrthShapeEdge
bool isOrthShapeEdge(void) const
VertID operator-(const int &rhs) const
static const unsigned short src
bool operator==(const VertID &rhs) const
void db_print(void) const
friend std::ostream & operator<<(std::ostream &os, const VertID &vID)
bool isConnPt(void) const
bool operator<(const VertID &rhs) const
void print(FILE *file=stdout) const
VertID & operator=(const VertID &rhs)
static const VertIDProps PROP_ConnectionPin
bool isDummyPinHelper(void) const
bool operator!=(const VertID &rhs) const
bool isConnCheckpoint(void) const
bool isConnectionPin(void) const
static const VertIDProps PROP_ConnPoint
VertInf * getVertexByPos(const Point &p)
unsigned int connsSize(void) const
unsigned int _connVertices
VertInf * _firstShapeVert
unsigned int _shapeVertices
unsigned int shapesSize(void) const
VertInf * shapesBegin(void)
void addVertex(VertInf *vert)
VertInf * getVertexByID(const VertID &id)
VertInf * removeVertex(VertInf *vert)
VertInf * connsBegin(void)
VertInf * sptfRoot(void) const
void setVisibleDirections(const ConnDirFlags directions)
void clearTreeRootPointer(void)
void setSPTFRoot(VertInf *root)
std::list< ANode * > aStarPendingNodes
unsigned int orthogVisListSize
void setTreeRootPointer(VertInf **pointer)
VertInf ** makeTreeRootPointer(VertInf *root)
ConnDirFlags visDirections
void removeFromGraph(const bool isConnVert=true)
unsigned int invisListSize
ConnDirFlags directionFrom(const VertInf *other) const
std::list< ANode * > aStarDoneNodes
VertInf * m_orthogonalPartner
unsigned int pathLeadsBackTo(const VertInf *start) const
unsigned int orthogVisPropFlags
EdgeInf * hasNeighbour(VertInf *target, bool orthogonal) const
VertInf ** treeRootPointer(void) const
EdgeInfList orthogVisList
VertInf * treeRoot(void) const
void Reset(const VertID &vid, const Point &vpoint)
Contains the interface for various geometry types and classes.
libavoid: Object-avoiding orthogonal and polyline connector routing library.
static const unsigned int YL_EDGE
std::map< VertID, ShapeSet > ContainsMap
static const unsigned int XL_EDGE
static const unsigned int YL_CONN
std::list< EdgeInf * > EdgeInfList
unsigned short VertIDProps
bool directVis(VertInf *src, VertInf *dst)
static const VertID dummyOrthogID(0, 0)
static const unsigned int XH_CONN
static const unsigned int YH_CONN
static const unsigned int YH_EDGE
std::pair< VertInf *, VertInf * > VertexPair
static const VertID dummyOrthogShapeID(0, 0, VertID::PROP_OrthShapeEdge)
std::set< unsigned int > ShapeSet
static const unsigned int XH_EDGE
static const unsigned int XL_CONN
unsigned int ConnDirFlags
One or more Avoid::ConnDirFlag options.