summaryrefslogtreecommitdiff
path: root/src/boundary.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-10-11 19:43:47 +0100
committerTim Redfern <tim@eclectronics.org>2012-10-11 19:43:47 +0100
commite2e45966d7a3ca7673bdbaadef5b5e8a38b0ff78 (patch)
tree0a93d0d044b51f808658124761ac85afdcb23fae /src/boundary.h
initial commit
Diffstat (limited to 'src/boundary.h')
-rwxr-xr-xsrc/boundary.h28
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