/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
const std::string &get_description() const { return description; }
float get_total_length() const;
float get_path_length(int) const;
+ unsigned get_paths() const;
unsigned get_n_paths() const;
+ bool is_turnout() const;
+ bool is_double_address() const;
const std::vector<TrackPart> &get_parts() const { return parts; }
const std::vector<Endpoint> &get_endpoints() const { return endpoints; }
+ TrackPoint get_point(unsigned, unsigned, float) const;
private:
void collect_endpoints();