]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/commitdiff
Add gen plot for lra and rra points
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 22:39:56 +0000 (23:39 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 22:39:56 +0000 (23:39 +0100)
incl/bcar.hh
src/bcar.cc

index c2265a59c566c9ac56332b70bae0dc167e1eace7..95d67dfa6e1df4f1d7e4a5dea2619ca1ee52d32c 100644 (file)
@@ -491,6 +491,8 @@ public:
                bool RFM_POINT = false;
                bool CRA_POINT = false;
                bool CAR_POINT = false;
+               bool LRA_POINT = false;
+               bool RRA_POINT = false;
 
                bool LEFT = false;
                bool RIGHT = false;
index 4c8307c42f5a442702ff3fcb24706d7723b9ab4a..4e635d6c395a9a8f72519f1c94ea6d2fb7b5252b 100644 (file)
@@ -1045,6 +1045,12 @@ BicycleCar::gen_gnuplot_to(std::ostream& out, GenPlotOpts opts)
        if (opts.CRA_POINT || opts.CAR_POINT) {
                Point::gen_gnuplot_to(out);
        }
+       if (opts.LRA_POINT) {
+               this->lra().gen_gnuplot_to(out);
+       }
+       if (opts.RRA_POINT) {
+               this->rra().gen_gnuplot_to(out);
+       }
        if (opts.LEFT) {
                this->lf().gen_gnuplot_to(out);
                this->lr().gen_gnuplot_to(out);