From e2e45966d7a3ca7673bdbaadef5b5e8a38b0ff78 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 11 Oct 2012 19:43:47 +0100 Subject: initial commit --- src/boundary.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 src/boundary.h (limited to 'src/boundary.h') diff --git a/src/boundary.h b/src/boundary.h new file mode 100755 index 0000000..a4ee28b --- /dev/null +++ b/src/boundary.h @@ -0,0 +1,28 @@ +#ifndef BOUNDARY_H +#define BOUNDARY_H + +#include "ofMain.h" + + + +class boundary +{ + public: + boundary(); + boundary(int _note); + virtual ~boundary(); + bool contains(ofPoint p); + void draw(); + void add(ofPoint p); + void undo(); + int note; + void getCentroid(); + vector points; + ofPoint centroid; + +}; + + + + +#endif // BOUNDARY_H -- cgit v1.2.3