/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include <msp/datafile/loader.h>
#include "endpoint.h"
+#include "geometry.h"
namespace Marklin {
void start(float, float, float);
};
- float x, y;
+ Point pos;
float dir;
float length;
float radius;
TrackPart();
- void collect_endpoints(std::vector<Endpoint> &);
+ void collect_endpoints(std::vector<Endpoint> &) const;
+ Point get_point(float) const;
};
} // namespace Marklin