mirror of https://github.com/CGAL/cgal
simplify template parameters, Add _ postfix to Itag (thank you Marc)
This commit is contained in:
parent
bd923feda7
commit
9776c053d6
|
|
@ -40,10 +40,8 @@ struct Exact_predicates_tag{}; // to be used with filtered exact number
|
|||
|
||||
|
||||
template < class Gt,
|
||||
class Tds_ = Triangulation_data_structure_2 <
|
||||
Triangulation_vertex_base_2<Gt>,
|
||||
Constrained_triangulation_face_base_2<Gt> >,
|
||||
class Itag_ = No_intersection_tag>
|
||||
class Tds_ = Default ,
|
||||
class Itag_ = Default >
|
||||
class Constrained_triangulation_2
|
||||
: public Triangulation_2<Gt,typename Default::Get< Tds_,
|
||||
Triangulation_data_structure_2 <
|
||||
|
|
@ -55,10 +53,11 @@ public:
|
|||
typedef typename Default::Get<Tds_, Triangulation_data_structure_2 <
|
||||
Triangulation_vertex_base_2<Gt>,
|
||||
Constrained_triangulation_face_base_2<Gt> > >::type Tds;
|
||||
|
||||
typedef typename Default::Get<Itag_, No_intersection_tag>::type Itag;
|
||||
|
||||
typedef Triangulation_2<Gt,Tds> Triangulation;
|
||||
typedef Constrained_triangulation_2<Gt,Tds_,Itag> Constrained_triangulation;
|
||||
typedef Constrained_triangulation_2<Gt,Tds_,Itag_> Constrained_triangulation;
|
||||
|
||||
typedef typename Triangulation::Edge Edge;
|
||||
typedef typename Triangulation::Vertex Vertex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue