blob: bb022bcebdc199fea60a8a659816d2585b5ecc11 [file]
#pragma once
#include <vector>
#include <exception>
using namespace std;
class Delaunator{
public:
Delaunator(const vector<double> &coords);
struct No_triangulation : public exception {
const char * what () const throw () {
return "No delaunay triangulation";
};
};
private:
double center_x;
double center_y;
};