summaryrefslogtreecommitdiff
path: root/src/boundary.h
blob: a4ee28bc70f83c0cb3a5baeaeca512ec0d2bebec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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