summaryrefslogtreecommitdiff
path: root/src/boundary.h
blob: e28b278a9e4db5969d852c4318537d277330824f (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
29
30
#ifndef BOUNDARY_H
#define BOUNDARY_H

#include "ofMain.h"



class boundary
{
    public:
        boundary();
	boundary(string file);
        virtual ~boundary();
	bool contains(ofPoint p);
	void draw();
	void add(ofPoint p);
	void undo();
	void getCentroid();
	vector<ofPoint> points;
	ofPoint centroid; 
    
	void checkfile(ofPoint pos,string file);
	
	string filename;
};




#endif // BOUNDARY_H