/* * BoundaryMaps.hpp * * Created on: Jul 29, 2010 * Author: heber */ #ifndef BOUNDARYMAPS_HPP_ #define BOUNDARYMAPS_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif class BoundaryPointSet; class BoundaryLineSet; class BoundaryTriangleSet; class BoundaryPolygonSet; class CandidateForTesselation; class TesselPoint; #include #include #include typedef std::map IndexToIndex; // ============= TesselPoint maps ======================== // typedef std::pair < double, class TesselPoint * > TesselPointDistancePair; typedef std::multimap < double, class TesselPoint * > TesselPointDistanceMap; typedef std::pair < TesselPointDistanceMap::iterator, bool > TesselPointDistanceTestPair; typedef std::list TesselPointList; typedef std::set TesselPointSet; typedef std::list *> ListOfTesselPointList; // ============= BoundaryPointSet maps ======================== // typedef std::map < int, class BoundaryPointSet * > PointMap; typedef std::set < class BoundaryPointSet * > PointSet; typedef std::list < class BoundaryPointSet * > PointList; typedef std::pair < int, class BoundaryPointSet * > PointPair; typedef std::pair < PointMap::iterator, bool > PointTestPair; typedef std::multimap DistanceToPointMap; typedef std::pair DistanceToPointPair; // ============= BoundaryLineSet maps ======================== // typedef std::multimap < int, class BoundaryLineSet * > LineMap; typedef std::set < class BoundaryLineSet * > LineSet; typedef std::list < class BoundaryLineSet * > LineList; typedef std::pair < int, class BoundaryLineSet * > LinePair; typedef std::pair < LineMap::iterator, bool > LineTestPair; // ============= BoundaryTriangleSet maps ======================== // typedef std::map < int, class BoundaryTriangleSet * > TriangleMap; typedef std::set < class BoundaryTriangleSet * > TriangleSet; typedef std::list < class BoundaryTriangleSet * > TriangleList; typedef std::pair < int, class BoundaryTriangleSet * > TrianglePair; typedef std::pair < TriangleMap::iterator, bool > TriangleTestPair; // ============= BoundaryPolygonSet maps ======================== // typedef std::map < int, class BoundaryPolygonSet * > PolygonMap; typedef std::set < class BoundaryPolygonSet * > PolygonSet; typedef std::list < class BoundaryPolygonSet * > PolygonList; // ============= CandidateForTesselation maps ======================== // typedef std::list CandidateList; typedef std::map CandidateMap; // ============= Various maps ======================== // typedef std::map Boundaries; typedef std::pair BoundariesPair; typedef std::pair< Boundaries::iterator, bool> BoundariesTestPair; typedef std::multimap > DistanceMultiMap; typedef std::pair > DistanceMultiMapPair; enum centers {Opt, OtherOpt}; #endif /* BOUNDARYMAPS_HPP_ */