X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrackappearance.h;h=739aa968d7f61d1ecc286baf530599a673967221;hb=5929b101ee38b5668b328e7b1eac4bf49c912412;hp=a108ec0e011de0f449331c84c55d9d461e566a46;hpb=4c8c03d25ec4d58772ceb5b287deab645fdae19f;p=r2c2.git diff --git a/source/libr2c2/trackappearance.h b/source/libr2c2/trackappearance.h index a108ec0..739aa96 100644 --- a/source/libr2c2/trackappearance.h +++ b/source/libr2c2/trackappearance.h @@ -17,6 +17,7 @@ public: private: void ballast_profile(); + void gauge(float); void rail_profile(); void tie_length(float); void tie_profile(); @@ -24,6 +25,7 @@ public: }; private: + float gauge; Profile rail_profile; Profile ballast_profile; Profile tie_profile; @@ -34,6 +36,7 @@ private: public: TrackAppearance(); + float get_gauge() const { return gauge; } float get_rail_elevation() const; const Profile &get_rail_profile() const { return rail_profile; } const Profile &get_ballast_profile() const { return ballast_profile; }