29 #ifndef AVOID_CONNECTIONPIN_H
30 #define AVOID_CONNECTIONPIN_H
42 static const unsigned int CONNECTIONPIN_UNSET = INT_MAX;
43 static const unsigned int CONNECTIONPIN_CENTRE = INT_MAX - 1;
130 const double xPortionOffset,
const double yPortionOffset,
131 const double insideOffset = 0.0,
190 friend class Obstacle;
194 void updatePosition(
const Point& newPosition);
195 void updatePosition(
const Polygon& newPoly);
196 void updatePositionAndVisibility(
void);
197 void updateVisibility(
void);
198 void outputCode(FILE *fp)
const;
199 unsigned int containingObjectId(
void)
const;
205 unsigned int m_class_id;
206 double m_x_portion_offset;
207 double m_y_portion_offset;
208 double m_inside_offset;
213 double m_connection_cost;
215 std::set<ConnEnd *> m_connend_users;
225 bool operator()(
const ShapeConnectionPin *lhs,
226 const ShapeConnectionPin *rhs)
const
228 return (*lhs) < (*rhs);
232 typedef std::set<ShapeConnectionPin *, CmpConnPinPtr> ShapeConnectionPinSet;