forked from codysauermann/GeometricDataStructures2D
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegion2D.h
More file actions
33 lines (26 loc) · 684 Bytes
/
Region2D.h
File metadata and controls
33 lines (26 loc) · 684 Bytes
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
31
32
33
#ifndef REGION2D_H
#define REGION2D_H
#include "vector"
#include "utility"
#include "set"
#include "AttributedHalfSegment2D.h"
#include "Segment2D.h"
#include <memory>
class Region2D {
private:
class Impl;
std::unique_ptr<Impl> pimpl;
public:
Region2D();
~Region2D();
Region2D(std::vector<Segment2D> region);
Region2D(Region2D const ®ion);
Region2D(Region2D &®ion);
typedef std::vector<AttributedHalfSegment2D>::iterator iterator;
iterator begin();
iterator end();
//void print();
std::vector<Segment2D> getSegments();
bool operator==(const Region2D& other) const;
};
#endif //REGION2D_H