]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/blobdiff - incl/pslot.hh
Merge branch 'improve-plot'
[hubacji1/bcar.git] / incl / pslot.hh
index 843d9f920cb47a5b2d701da78d3bfae03a216629..7cf2b42822a2863da88248fc339a25e819089489 100644 (file)
@@ -126,6 +126,12 @@ public:
        /*! Return `true` if `c`'s car frame collide with `this` border. */
        bool collide(BicycleCar const& c) const;
 
+       /*! \brief Set car `c` to the start position.
+        *
+        * \param c Bicycle car.
+        */
+       void set_to_start(BicycleCar& c);
+
        /*! \brief Drive car `c` into the parking slot `this`.
         *
         * \param c Starting bicycle car.
@@ -161,6 +167,9 @@ public:
         */
        PoseRange recompute_entry(PoseRange p);
 
+       /*! Generate output for plotting with gnuplot. */
+       void gen_gnuplot_to(std::ostream& out);
+
        friend std::ostream& operator<<(std::ostream& o, ParkingSlot const& s);
 };