-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#include <cmath>
#include "profile.h"
const Profile::Vertex &Profile::get_vertex(unsigned i) const
{
if(i>=vertices.size())
- throw InvalidParameterValue("Index out of range");
+ throw out_of_range("Profile::get_vertex");
return vertices[i];
}