diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-10-11 19:43:47 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-10-11 19:43:47 +0100 |
| commit | e2e45966d7a3ca7673bdbaadef5b5e8a38b0ff78 (patch) | |
| tree | 0a93d0d044b51f808658124761ac85afdcb23fae /src/boundary.h | |
initial commit
Diffstat (limited to 'src/boundary.h')
| -rwxr-xr-x | src/boundary.h | 28 |
1 files changed, 28 insertions, 0 deletions
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<ofPoint> points;
+ ofPoint centroid;
+
+};
+
+
+
+
+#endif // BOUNDARY_H
|
