Add Construct_point_2 to SDG2 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:
Mael Rouxel-Labbé 2020-03-10 12:24:31 +01:00
parent 2ee69c240b
commit 2cfad7b991
2 changed files with 12 additions and 0 deletions

View File

@ -177,6 +177,7 @@ public:
//---------------------------------
typedef typename CK::Construct_object_2 Construct_object_2;
typedef typename CK::Assign_2 Assign_2;
typedef typename CK::Construct_point_2 Construct_point_2;
// CONSTRUCTIONS
//--------------
@ -376,6 +377,11 @@ public:
return Construct_object_2();
}
Construct_point_2
construct_point_2_object() const {
return Construct_point_2();
}
// CONSTRUCTIONS
//--------------
Construct_svd_vertex_2

View File

@ -105,6 +105,7 @@ public:
//-------------------------------
typedef typename Kernel::Construct_object_2 Construct_object_2;
typedef typename Kernel::Assign_2 Assign_2;
typedef typename Kernel::Construct_point_2 Construct_point_2;
// CONSTRUCTIONS
//--------------
@ -195,6 +196,11 @@ public:
return Construct_object_2();
}
Construct_point_2
construct_point_2_object() const {
return Construct_point_2();
}
// CONSTRUCTIONS
//--------------
Construct_svd_vertex_2