]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/tracktype.h
Add a shortcut for getting the gauge of a TrackType
[r2c2.git] / source / libr2c2 / tracktype.h
index 56d164f1b652a308a58a7ec1b0cf7505d6491631..9d167d18c7c91822ebd25b1dd047fc8a6233309e 100644 (file)
@@ -52,6 +52,7 @@ public:
        TrackType(const ArticleNumber &, const TrackAppearance &);
 
        const TrackAppearance &get_appearance() const { return appearance; }
+       float get_gauge() const;
        float get_total_length() const;
        float get_path_length(int) const;
        unsigned get_paths() const;