Copy of wagyu-0.2.0 (b3fa127)

This commit is contained in:
Eric Fischer
2016-12-07 14:14:56 -08:00
parent c0d5171f1d
commit 22cb5186d7
23 changed files with 6503 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include <stdexcept>
namespace mapbox {
namespace geometry {
namespace wagyu {
class clipper_exception : public std::exception {
private:
std::string m_descr;
public:
clipper_exception(const char* description) : m_descr(description) {
}
virtual ~clipper_exception() noexcept {
}
virtual const char* what() const noexcept {
return m_descr.c_str();
}
};
}
}
}