5 #ifndef MERCATOR_EFFECTOR_H
6 #define MERCATOR_EFFECTOR_H
8 #include <wfmath/axisbox.h>
9 #include <wfmath/polygon.h>
34 const std::string & id() {
return m_id; }
36 void setId(
const std::string &);
43 void setContext(Context *);
46 const WFMath::AxisBox<2> &
bbox()
const
53 virtual bool checkIntersects(
const Segment& s)
const = 0;
55 virtual int addToSegment(
Segment &)
const = 0;
56 virtual void updateToSegment(
Segment &)
const = 0;
57 virtual void removeFromSegment(
Segment &)
const = 0;
78 #endif // of MERCATOR_EFFECTOR_H