26 #ifndef AVOID_CLUSTER_H
27 #define AVOID_CLUSTER_H
31 #include "libavoid/geometry.h"
38 typedef std::list<ClusterRef *> ClusterRefList;
44 ClusterRef(Router *router,
unsigned int id, Polygon& poly);
46 void setNewPoly(Polygon& poly);
47 unsigned int id(
void);
48 ReferencingPolygon& polygon(
void);
49 Polygon& rectangularPolygon(
void);
51 void makeActive(
void);
52 void makeInactive(
void);
57 ReferencingPolygon m_polygon;
58 Polygon m_rectangular_polygon;
60 ClusterRefList::iterator m_clusterrefs_pos;