mirror of https://github.com/CGAL/cgal
Fix MSVCisms: missing typenames.
This commit is contained in:
parent
86b6640fc4
commit
718c1a9f00
|
|
@ -68,6 +68,7 @@ GraphicsView/demo/Triangulation_2/*.exe
|
|||
GraphicsView/demo/Triangulation_2/Constrained_Delaunay_triangulation_2
|
||||
GraphicsView/demo/Triangulation_2/Delaunay_triangulation_2
|
||||
GraphicsView/demo/Triangulation_2/Makefile
|
||||
GraphicsView/demo/Triangulation_2/Regular_triangulation_2
|
||||
GraphicsView/demo/Triangulation_2/qrc_*.cxx
|
||||
GraphicsView/demo/Triangulation_2/ui_*.h
|
||||
GraphicsView/doc_tex/GraphicsView.tex
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ RegularTriangulationRemoveVertex<T>::mousePressEvent(QGraphicsSceneMouseEvent *e
|
|||
if(dt->number_of_vertices() == 0){
|
||||
dt->clear();
|
||||
}else {
|
||||
typedef Kernel_traits<typename T::Bare_point>::Kernel K;
|
||||
typedef typename Kernel_traits<typename T::Bare_point>::Kernel K;
|
||||
Converter<K> convert;
|
||||
typename T::Vertex_handle selected_vertex = dt->nearest_power_vertex(convert(event->scenePos()));
|
||||
dt->remove(selected_vertex);
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ GraphicsViewCircleInput<K>::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
|||
qcircle->hide();
|
||||
q = convert(qq);
|
||||
if(m_pointsOnCircle == 1){
|
||||
K::FT sd = squared_distance(p,q);
|
||||
typename K::FT sd = squared_distance(p,q);
|
||||
emit generate(CGAL::make_object(std::make_pair(p, sd)));
|
||||
} else {
|
||||
emit generate(CGAL::make_object(std::make_pair(p, q)));
|
||||
|
|
@ -145,7 +145,7 @@ GraphicsViewCircleInput<K>::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
|||
return;
|
||||
} else {
|
||||
if(m_pointsOnCircle == 1){
|
||||
K::FT sd = squared_distance(p,q);
|
||||
typename K::FT sd = squared_distance(p,q);
|
||||
bb = construct_circle(p, sd).bbox();
|
||||
} else {
|
||||
bb = construct_circle(p, q).bbox();
|
||||
|
|
|
|||
Loading…
Reference in New Issue