1 | /*
|
---|
2 | * BoundaryMaps.hpp
|
---|
3 | *
|
---|
4 | * Created on: Jul 29, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef BOUNDARYMAPS_HPP_
|
---|
9 | #define BOUNDARYMAPS_HPP_
|
---|
10 |
|
---|
11 | class BoundaryPointSet;
|
---|
12 | class BoundaryLineSet;
|
---|
13 | class BoundaryTriangleSet;
|
---|
14 | class BoundaryPolygonSet;
|
---|
15 | class CandidateForTesselation;
|
---|
16 | class TesselPoint;
|
---|
17 |
|
---|
18 | #include <list>
|
---|
19 | #include <map>
|
---|
20 | #include <set>
|
---|
21 |
|
---|
22 | typedef std::map <int, int> IndexToIndex;
|
---|
23 |
|
---|
24 | typedef std::map < int, class BoundaryPointSet * > PointMap;
|
---|
25 | typedef std::set < class BoundaryPointSet * > PointSet;
|
---|
26 | typedef std::list < class BoundaryPointSet * > PointList;
|
---|
27 | typedef std::pair < int, class BoundaryPointSet * > PointPair;
|
---|
28 | typedef std::pair < PointMap::iterator, bool > PointTestPair;
|
---|
29 |
|
---|
30 | typedef std::list <class CandidateForTesselation *> CandidateList;
|
---|
31 | typedef std::map <class BoundaryLineSet *, class CandidateForTesselation *> CandidateMap;
|
---|
32 |
|
---|
33 | typedef std::multimap < int, class BoundaryLineSet * > LineMap;
|
---|
34 | typedef std::set < class BoundaryLineSet * > LineSet;
|
---|
35 | typedef std::list < class BoundaryLineSet * > LineList;
|
---|
36 | typedef std::pair < int, class BoundaryLineSet * > LinePair;
|
---|
37 | typedef std::pair < LineMap::iterator, bool > LineTestPair;
|
---|
38 |
|
---|
39 | typedef std::map < int, class BoundaryTriangleSet * > TriangleMap;
|
---|
40 | typedef std::set < class BoundaryTriangleSet * > TriangleSet;
|
---|
41 | typedef std::list < class BoundaryTriangleSet * > TriangleList;
|
---|
42 | typedef std::pair < int, class BoundaryTriangleSet * > TrianglePair;
|
---|
43 | typedef std::pair < TriangleMap::iterator, bool > TriangleTestPair;
|
---|
44 |
|
---|
45 | typedef std::map < int, class BoundaryPolygonSet * > PolygonMap;
|
---|
46 | typedef std::set < class BoundaryPolygonSet * > PolygonSet;
|
---|
47 | typedef std::list < class BoundaryPolygonSet * > PolygonList;
|
---|
48 |
|
---|
49 | typedef std::multimap <double, class BoundaryPointSet * > DistanceToPointMap;
|
---|
50 | typedef std::pair <double, class BoundaryPointSet * > DistanceToPointPair;
|
---|
51 |
|
---|
52 | typedef std::multimap <double, std::pair < PointMap::iterator, PointMap::iterator> > DistanceMultiMap;
|
---|
53 | typedef std::pair <double, std::pair < PointMap::iterator, PointMap::iterator> > DistanceMultiMapPair;
|
---|
54 |
|
---|
55 | typedef std::list <TesselPoint *> TesselPointList;
|
---|
56 | typedef std::set <TesselPoint *> TesselPointSet;
|
---|
57 |
|
---|
58 | typedef std::list<std::list <TesselPoint *> *> ListOfTesselPointList;
|
---|
59 |
|
---|
60 | enum centers {Opt, OtherOpt};
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|
65 | #endif /* BOUNDARYMAPS_HPP_ */
|
---|