diff --git a/src/hull.h b/src/hull.h new file mode 100644 --- /dev/null +++ b/src/hull.h @@ -0,0 +1,17 @@ +// Class point needed by 2D convex hull code +class Point { + +public: + Point(float xx, float yy) { + x=xx; + y=yy; + } + Point(void) { + x=0; y=0; + } + float x,y; + +}; + +int chainHull_2D( Point* P, int n, Point* H ); +