return this->len() - this->df();
}
+void
+CarSize::ft(double ft)
+{
+ this->_front_track = ft;
+}
+
+double
+CarSize::ft() const
+{
+ return this->_front_track;
+}
+
double
CarSize::mtr() const
{
auto ctc2 = pow(this->ctc() / 2.0, 2.0);
auto wb2 = pow(this->wb(), 2.0);
- return sqrt(ctc2 - wb2) - this->w() / 2.0;
+ return sqrt(ctc2 - wb2) - this->ft() / 2.0;
}
double