]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/track.h
Use a dedicated exception class for route errors
[r2c2.git] / source / libr2c2 / track.h
index 8f75f78fc1c093f94e83f74e70a5518b1f378aa3..326c2e28e3d65fe479c4ddc1c2e694a79deae5e3 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C2_TRACK_H_
 #define LIBR2C2_TRACK_H_
 
@@ -89,6 +82,8 @@ public:
        TrackPoint get_point(unsigned, unsigned, float) const;
        TrackPoint get_point(unsigned, float) const;
 
+       bool collide_ray(const Vector &, const Vector &);
+
        void save(std::list<Msp::DataFile::Statement> &) const;
 private:
        void turnout_event(unsigned, unsigned);