]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trackappearance.h
Render ties between rails on tracks
[r2c2.git] / source / libr2c2 / trackappearance.h
index 8a18cd4e74850c18e73a834f3305b4b631441943..a108ec0e011de0f449331c84c55d9d461e566a46 100644 (file)
@@ -18,17 +18,28 @@ public:
        private:
                void ballast_profile();
                void rail_profile();
+               void tie_length(float);
+               void tie_profile();
+               void tie_spacing(float);
        };
 
 private:
        Profile rail_profile;
        Profile ballast_profile;
+       Profile tie_profile;
+       float tie_length;
+       float tie_spacing;
        std::string technique;
 
 public:
+       TrackAppearance();
+
        float get_rail_elevation() const;
        const Profile &get_rail_profile() const { return rail_profile; }
        const Profile &get_ballast_profile() const { return ballast_profile; }
+       const Profile &get_tie_profile() const { return tie_profile; }
+       float get_tie_length() const { return tie_length; }
+       float get_tie_spacing() const { return tie_spacing; }
        const std::string &get_technique() const { return technique; }
 };