]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/vehicletype.h
Set correct Z coordinate to vehicle position
[r2c2.git] / source / libmarklin / vehicletype.h
index 2edf3bf55fee5242a11c73cb363327fcd70f4f61..9ef1c5ec9d22798620674d486588789cecb24e07 100644 (file)
@@ -42,6 +42,7 @@ public:
                float position;
                float wheel_dia;
                bool powered;
+               std::string object;
 
                Axle();
        };
@@ -90,6 +91,8 @@ public:
        float get_height() const { return height; }
        const std::vector<Axle> &get_axles() const { return axles; }
        const std::vector<Bogie> &get_bogies() const { return bogies; }
+       float get_front_axle_offset() const;
+       float get_back_axle_offset() const;
        const std::string &get_object() const { return object; }
 };