remove extra typename keywords

This commit is contained in:
Sébastien Loriot 2015-07-16 09:09:02 +02:00
parent a571e1db8d
commit 8299c9c00f
2 changed files with 3 additions and 4 deletions

View File

@ -153,7 +153,7 @@ Scene_polyhedron_item::triangulate_facet(Facet_iterator fit)
fit2->info().is_external = false;
}
//check if the facet is external or internal
std::queue<typename CDT::Face_handle> face_queue;
std::queue<CDT::Face_handle> face_queue;
face_queue.push(cdt.infinite_vertex()->face());
while(! face_queue.empty() ) {
CDT::Face_handle fh = face_queue.front();
@ -251,7 +251,7 @@ Scene_polyhedron_item::triangulate_facet_color(Facet_iterator fit)
afit->info().is_external = false;
}
//check if the facet is external or internal
std::queue<typename CDT::Face_handle> face_queue;
std::queue<CDT::Face_handle> face_queue;
face_queue.push(cdt.infinite_vertex()->face());
while(! face_queue.empty() ) {
CDT::Face_handle fh = face_queue.front();
@ -469,7 +469,7 @@ Scene_polyhedron_item::compute_normals_and_vertices(void)
else if (cur_shading == Gouraud)
{
Vector n = compute_vertex_normal<typename Polyhedron::Vertex,Kernel>(*he->vertex());
Vector n = compute_vertex_normal<Polyhedron::Vertex,Kernel>(*he->vertex());
normals.push_back(n.x());
normals.push_back(n.y());
normals.push_back(n.z());

View File

@ -344,7 +344,6 @@ private:
// Computes bounding sphere
typedef CGAL::Min_sphere_of_points_d_traits_3<Gt,FT> Traits;
typedef CGAL::Min_sphere_of_spheres_d<Traits> Min_sphere;
typedef typename Traits::Sphere Traits_sphere;
Min_sphere ms(begin(),end());