[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 |
|
---|
| 11 | #define IndexToIndex std::map <int, int>
|
---|
| 12 |
|
---|
| 13 | #define PointMap std::map < int, class BoundaryPointSet * >
|
---|
| 14 | #define PointSet std::set < class BoundaryPointSet * >
|
---|
| 15 | #define PointList std::list < class BoundaryPointSet * >
|
---|
| 16 | #define PointPair std::pair < int, class BoundaryPointSet * >
|
---|
| 17 | #define PointTestPair std::pair < PointMap::iterator, bool >
|
---|
| 18 |
|
---|
| 19 | #define CandidateList std::list <class CandidateForTesselation *>
|
---|
| 20 | #define CandidateMap std::map <class BoundaryLineSet *, class CandidateForTesselation *>
|
---|
| 21 |
|
---|
| 22 | #define LineMap std::multimap < int, class BoundaryLineSet * >
|
---|
| 23 | #define LineSet std::set < class BoundaryLineSet * >
|
---|
| 24 | #define LineList std::list < class BoundaryLineSet * >
|
---|
| 25 | #define LinePair std::pair < int, class BoundaryLineSet * >
|
---|
| 26 | #define LineTestPair std::pair < LineMap::iterator, bool >
|
---|
| 27 |
|
---|
| 28 | #define TriangleMap std::map < int, class BoundaryTriangleSet * >
|
---|
| 29 | #define TriangleSet std::set < class BoundaryTriangleSet * >
|
---|
| 30 | #define TriangleList std::list < class BoundaryTriangleSet * >
|
---|
| 31 | #define TrianglePair std::pair < int, class BoundaryTriangleSet * >
|
---|
| 32 | #define TriangleTestPair std::pair < TrianglePair::iterator, bool >
|
---|
| 33 |
|
---|
| 34 | #define PolygonMap std::map < int, class BoundaryPolygonSet * >
|
---|
| 35 | #define PolygonSet std::set < class BoundaryPolygonSet * >
|
---|
| 36 | #define PolygonList std::list < class BoundaryPolygonSet * >
|
---|
| 37 |
|
---|
| 38 | #define DistanceToPointMap std::multimap <double, class BoundaryPointSet * >
|
---|
| 39 | #define DistanceToPointPair std::pair <double, class BoundaryPointSet * >
|
---|
| 40 |
|
---|
| 41 | #define DistanceMultiMap std::multimap <double, std::pair < PointMap::iterator, PointMap::iterator> >
|
---|
| 42 | #define DistanceMultiMapPair std::pair <double, std::pair < PointMap::iterator, PointMap::iterator> >
|
---|
| 43 |
|
---|
| 44 | #define TesselPointList std::list <TesselPoint *>
|
---|
| 45 | #define TesselPointSet std::set <TesselPoint *>
|
---|
| 46 |
|
---|
| 47 | #define ListOfTesselPointList std::list<std::list <TesselPoint *> *>
|
---|
| 48 |
|
---|
| 49 | enum centers {Opt, OtherOpt};
|
---|
| 50 |
|
---|
| 51 | #define HULLEPSILON 1e-9 //!< TODO: Get rid of HULLEPSILON, points to numerical instabilities
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | #endif /* BOUNDARYMAPS_HPP_ */
|
---|