summaryrefslogtreecommitdiff
path: root/src/boundary.h
diff options
context:
space:
mode:
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