Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/BoundaryMaps.hpp

    r88b400 r6b5657  
    2222typedef std::map <int, int> IndexToIndex;
    2323
     24// ============= TesselPoint maps ======================== //
     25typedef std::pair < double, class TesselPoint * > TesselPointDistancePair;
     26typedef std::multimap < double, class TesselPoint * > TesselPointDistanceMap;
     27typedef std::pair < TesselPointDistanceMap::iterator, bool > TesselPointDistanceTestPair;
     28
     29typedef std::list <TesselPoint *> TesselPointList;
     30typedef std::set <TesselPoint *> TesselPointSet;
     31
     32typedef std::list<std::list <TesselPoint *> *> ListOfTesselPointList;
     33
     34// ============= BoundaryPointSet maps ======================== //
    2435typedef std::map < int, class BoundaryPointSet * > PointMap;
    2536typedef std::set < class BoundaryPointSet * > PointSet;
     
    2839typedef std::pair < PointMap::iterator, bool > PointTestPair;
    2940
    30 typedef std::list <class CandidateForTesselation *> CandidateList;
    31 typedef std::map <class BoundaryLineSet *, class CandidateForTesselation *> CandidateMap;
     41typedef std::multimap <double, class BoundaryPointSet * > DistanceToPointMap;
     42typedef std::pair <double, class BoundaryPointSet * > DistanceToPointPair;
    3243
     44// ============= BoundaryLineSet maps ======================== //
    3345typedef std::multimap < int, class BoundaryLineSet * > LineMap;
    3446typedef std::set < class BoundaryLineSet * > LineSet;
     
    3749typedef std::pair < LineMap::iterator, bool > LineTestPair;
    3850
     51// ============= BoundaryTriangleSet maps ======================== //
    3952typedef std::map < int, class BoundaryTriangleSet * > TriangleMap;
    4053typedef std::set < class BoundaryTriangleSet * > TriangleSet;
     
    4356typedef std::pair < TriangleMap::iterator, bool > TriangleTestPair;
    4457
     58// ============= BoundaryPolygonSet maps ======================== //
    4559typedef std::map < int, class BoundaryPolygonSet * > PolygonMap;
    4660typedef std::set < class BoundaryPolygonSet * > PolygonSet;
    4761typedef std::list < class BoundaryPolygonSet * > PolygonList;
    4862
    49 typedef std::multimap <double, class BoundaryPointSet * > DistanceToPointMap;
    50 typedef std::pair <double, class BoundaryPointSet * > DistanceToPointPair;
     63// ============= CandidateForTesselation maps ======================== //
     64typedef std::list <class CandidateForTesselation *> CandidateList;
     65typedef std::map <class BoundaryLineSet *, class CandidateForTesselation *> CandidateMap;
     66
     67// ============= Various maps ======================== //
     68typedef std::map <double, TesselPointDistancePair > Boundaries;
     69typedef std::pair<double, TesselPointDistancePair > BoundariesPair;
     70typedef std::pair< Boundaries::iterator, bool> BoundariesTestPair;
    5171
    5272typedef std::multimap <double, std::pair < PointMap::iterator, PointMap::iterator> > DistanceMultiMap;
    5373typedef 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;
    5974
    6075enum centers {Opt, OtherOpt};
Note: See TracChangeset for help on using the changeset viewer.