]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/tracktype.h
Add some shortcut functions for getting endpoints
[r2c2.git] / source / libmarklin / tracktype.h
index b1aff1e0920e3229113c517d5fb228c62a511501..d13ea28c98354785075e08177ae514b985b92bf5 100644 (file)
@@ -60,6 +60,7 @@ public:
        unsigned get_autofit_preference() const { return autofit_preference; }
        const std::vector<TrackPart> &get_parts() const { return parts; }
        const std::vector<Endpoint> &get_endpoints() const { return endpoints; }
+       const Endpoint &get_endpoint(unsigned) const;
        TrackPoint get_point(unsigned, unsigned, float) const;
 
 private: