#ifndef BCAR_H
#define BCAR_H
+#include <ostream>
+
/*! \brief Bicycle car basic class.
This class contains some geometrical computations of bicycle car.
void st(double st) { this->st_ = st; }
BicycleCar();
+ friend std::ostream &operator<<(
+ std::ostream &out,
+ const BicycleCar &bc
+ )
+ {
+ out << "[" << bc.x();
+ out << "," << bc.y();
+ out << "," << bc.h();
+ out << "]";
+ return out;
+ }
};
#endif /* BCAR_H */