1 // Boost.Geometry (aka GGL, Generic Geometry Library)
\r
3 // Copyright (c) 2014-2015, Oracle and/or its affiliates.
\r
5 // Licensed under the Boost Software License version 1.0.
\r
6 // http://www.boost.org/users/license.html
\r
8 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
\r
10 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP
\r
11 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP
\r
13 #if ! defined(BOOST_GEOMETRY_OVERLAY_NO_THROW)
\r
14 #include <boost/geometry/core/exception.hpp>
\r
16 namespace boost { namespace geometry
\r
19 class inconsistent_turns_exception : public geometry::exception
\r
23 inline inconsistent_turns_exception() {}
\r
25 virtual ~inconsistent_turns_exception() throw()
\r
28 virtual char const* what() const throw()
\r
30 return "Boost.Geometry Inconsistent Turns exception";
\r
34 }} // boost::geometry
\r
36 #endif // BOOST_GEOMETRY_OVERLAY_NO_THROW
\r
38 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP
\r
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams