5 double BicycleCar::lfx()
7 double lfx = this->x();
8 lfx += (this->w() / 2) * cos(this->h() + M_PI / 2);
9 lfx += this->df() * cos(this->h());
10 lfx += this->sd() * cos(this->h());
14 double BicycleCar::lfy()
16 double lfy = this->y();
17 lfy += (this->w() / 2) * sin(this->h() + M_PI / 2);
18 lfy += this->df() * sin(this->h());
19 lfy += this->sd() * sin(this->h());
23 double BicycleCar::lrx()
25 double lrx = this->x();
26 lrx += (this->w() / 2) * cos(this->h() + M_PI / 2);
27 lrx += -this->dr() * cos(this->h());
28 lrx += -this->sd() * cos(this->h());
32 double BicycleCar::lry()
34 double lry = this->y();
35 lry += (this->w() / 2) * sin(this->h() + M_PI / 2);
36 lry += -this->dr() * sin(this->h());
37 lry += -this->sd() * sin(this->h());
41 double BicycleCar::rrx()
43 double rrx = this->x();
44 rrx += (this->w() / 2) * cos(this->h() - M_PI / 2);
45 rrx += -this->dr() * cos(this->h());
46 rrx += -this->sd() * cos(this->h());
50 double BicycleCar::rry()
52 double rry = this->y();
53 rry += (this->w() / 2) * sin(this->h() - M_PI / 2);
54 rry += -this->dr() * sin(this->h());
55 rry += -this->sd() * sin(this->h());
59 double BicycleCar::rfx()
61 double rfx = this->x();
62 rfx += (this->w() / 2) * cos(this->h() - M_PI / 2);
63 rfx += this->df() * cos(this->h());
64 rfx += this->sd() * cos(this->h());
68 double BicycleCar::rfy()
70 double rfy = this->y();
71 rfy += (this->w() / 2) * sin(this->h() - M_PI / 2);
72 rfy += this->df() * sin(this->h());
73 rfy += this->sd() * sin(this->h());