[d74077] | 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 |
|
---|
[88b400] | 11 | class BoundaryPointSet;
|
---|
| 12 | class BoundaryLineSet;
|
---|
| 13 | class BoundaryTriangleSet;
|
---|
| 14 | class BoundaryPolygonSet;
|
---|
| 15 | class CandidateForTesselation;
|
---|
| 16 | class TesselPoint;
|
---|
[d74077] | 17 |
|
---|
[88b400] | 18 | #include <list>
|
---|
| 19 | #include <map>
|
---|
| 20 | #include <set>
|
---|
[d74077] | 21 |
|
---|
[88b400] | 22 | typedef std::map <int, int> IndexToIndex;
|
---|
[d74077] | 23 |
|
---|
[88b400] | 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;
|
---|
[d74077] | 29 |
|
---|
[88b400] | 30 | typedef std::list <class CandidateForTesselation *> CandidateList;
|
---|
| 31 | typedef std::map <class BoundaryLineSet *, class CandidateForTesselation *> CandidateMap;
|
---|
[d74077] | 32 |
|
---|
[88b400] | 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;
|
---|
[d74077] | 38 |
|
---|
[88b400] | 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;
|
---|
[d74077] | 44 |
|
---|
[88b400] | 45 | typedef std::map < int, class BoundaryPolygonSet * > PolygonMap;
|
---|
| 46 | typedef std::set < class BoundaryPolygonSet * > PolygonSet;
|
---|
| 47 | typedef std::list < class BoundaryPolygonSet * > PolygonList;
|
---|
[d74077] | 48 |
|
---|
[88b400] | 49 | typedef std::multimap <double, class BoundaryPointSet * > DistanceToPointMap;
|
---|
| 50 | typedef std::pair <double, class BoundaryPointSet * > DistanceToPointPair;
|
---|
[d74077] | 51 |
|
---|
[88b400] | 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;
|
---|
[d74077] | 59 |
|
---|
| 60 | enum centers {Opt, OtherOpt};
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 | #endif /* BOUNDARYMAPS_HPP_ */
|
---|