return links[i];
}
-int Track::traverse(unsigned i, unsigned path) const
+unsigned Track::traverse(unsigned i, unsigned path) const
{
const vector<Endpoint> &eps = type.get_endpoints();
if(i>=eps.size())
return j;
}
- return -1;
+ throw Exception("Track endpoint did not have a counterpart");
}
Point Track::get_point(unsigned epi, unsigned path, float d) const