107 size_t hasherBID = BIDhasher(c.
m_rightID);
109 return (hash<double>()(c.
m_progress) ^ hasherBID);
118 size_t hasherBID = BIDhasher(c->
m_rightID);
120 return (hash<double>()(c->
m_progress) ^ hasherBID);
x0
Definition: adore_set_goal.py:25
y0
Definition: adore_set_goal.py:26
Definition: areaofeffectconverter.h:20
a functor, which hashes a BorderID object -> std::unordered_set<BorderID,BorderIDHasher> amap(0);
Definition: borderid.h:176
This struct identifies a Border by the coordinates of the starting and the end point.
Definition: borderid.h:31
Coordinate m_last
Definition: borderid.h:32
Coordinate m_first
Definition: borderid.h:32
std::string toString() const
Write information of the BorderID to a string.
Definition: borderid.h:131
void translate(double dx, double dy, double dz)
Translate a border.
Definition: borderid.h:42
void rotate(double angle, double x0=0.0, double y0=0.0)
Definition: borderid.h:78
Definition: laneposition.h:100
std::size_t operator()(const LanePosition &c) const
Definition: laneposition.h:101
std::size_t operator()(const LanePosition *c) const
Definition: laneposition.h:112
This is a struct that contains a position defined by a BorderID and a progress on that border.
Definition: laneposition.h:30
bool operator==(const LanePosition &other) const
Check two LanePositions for equality.
Definition: laneposition.h:81
void translate(double dx, double dy, double dz)
Translate the LanePosition by translating the BorderID.
Definition: laneposition.h:66
std::string toString() const
Extract the information of the LanePosition to a string.
Definition: laneposition.h:92
double m_progress
Definition: laneposition.h:32
BorderID m_rightID
Definition: laneposition.h:31
void rotate(double angle, double x0=0, double y0=0)
Definition: laneposition.h:70
LanePosition(const LanePosition &pos)
Construct a new LanePosition.
Definition: laneposition.h:54
LanePosition()
Construct a new LanePosition object.
Definition: laneposition.h:37
LanePosition(const BorderID &id, double progress)
Construct a new LanePosition.
Definition: laneposition.h:44