mirror of https://github.com/CGAL/cgal
Add Construct_point_2 to APL2 traits models
The traits is supposed to be a model of a concept which refines TriangulationTraits2, which demands a model of ConstructPoint_2, so it should have been there.
This commit is contained in:
parent
5a3d877892
commit
2ee69c240b
|
|
@ -174,6 +174,7 @@ public:
|
|||
//---------------------------------
|
||||
typedef typename CK_traits::Construct_object_2 Construct_object_2;
|
||||
typedef typename CK_traits::Assign_2 Assign_2;
|
||||
typedef typename CK_traits::Construct_point_2 Construct_point_2;
|
||||
|
||||
// CONSTRUCTIONS
|
||||
//--------------
|
||||
|
|
@ -338,6 +339,10 @@ public:
|
|||
return Construct_object_2();
|
||||
}
|
||||
|
||||
Construct_point_2
|
||||
construct_point_2_object() const {
|
||||
return Construct_point_2();
|
||||
}
|
||||
|
||||
// CONSTRUCTIONS
|
||||
//--------------
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ public:
|
|||
|
||||
// CONSTRUCTIONS
|
||||
//--------------
|
||||
typedef typename Kernel::Construct_point_2 Construct_point_2;
|
||||
|
||||
// vertex and dual site
|
||||
typedef CGAL_APOLLONIUS_GRAPH_2_NS::Construct_Apollonius_vertex_2<Kernel>
|
||||
/* */ Construct_Apollonius_vertex_2;
|
||||
|
|
@ -151,6 +153,10 @@ public:
|
|||
return Construct_object_2();
|
||||
}
|
||||
|
||||
Construct_point_2
|
||||
construct_point_2_object() const {
|
||||
return Construct_point_2();
|
||||
}
|
||||
|
||||
// CONSTRUCTIONS
|
||||
//--------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue