Rename local typedef Triple to Triplet (makes it easier for grep to distinguish).

This commit is contained in:
Sylvain Pion 2008-07-25 14:51:40 +00:00
parent 20a76e0b04
commit a00960f952
2 changed files with 7 additions and 7 deletions

View File

@ -43,12 +43,12 @@ class Dxf_reader_doubles {
public:
typedef double FT;
typedef boost::array<double, 3> Triple;
typedef Triple Point_2_and_bulge;
typedef Triple Circle_2;
typedef boost::array<double, 3> Triplet;
typedef Triplet Point_2_and_bulge;
typedef Triplet Circle_2;
typedef std::list<Triple > Polygon;
typedef std::list<Triplet > Polygon;
typedef std::list<Polygon> Polygons;
typedef std::list<Circle_2> Circles;

View File

@ -44,7 +44,7 @@ template<class CK,class Circular_arc_2, class Line_arc_2, class OutputIterator>
OutputIterator variant_load(std::istream& is, OutputIterator res)
{
typedef boost::array<double, 3> Triple;
typedef boost::array<double, 3> Triplet;
typedef typename CK::FT FT;
typedef typename CK::Circular_arc_point_2 Circular_arc_point_2;
typedef typename CK::Root_of_2 Root_of_2;
@ -53,9 +53,9 @@ template<class CK,class Circular_arc_2, class Line_arc_2, class OutputIterator>
typedef typename CK::Point_2 Point_2;
typedef typename CK::Circle_2 Circle_2;
typedef typename boost::variant< Circular_arc_2, Line_arc_2 > Arc;
typedef std::list<Triple> Polygon;
typedef std::list<Triplet> Polygon;
typedef std::list<Polygon> Polygons;
typedef std::list<Triple> Circles;
typedef std::list<Triplet> Circles;
Polygons polygons;
Circles circles;