diff --git a/GraphicsView/doc_tex/GraphicsView_ref/GraphicsViewCircleInput.tex b/GraphicsView/doc_tex/GraphicsView_ref/GraphicsViewCircleInput.tex index 82eddee38b0..d4016472658 100644 --- a/GraphicsView/doc_tex/GraphicsView_ref/GraphicsViewCircleInput.tex +++ b/GraphicsView/doc_tex/GraphicsView_ref/GraphicsViewCircleInput.tex @@ -30,7 +30,7 @@ The template parameter of \ccRefName\ must be a \cgal\ \ccc{Kernel}. \ccMethod{void generate(Object o);}{The object \ccc{o} contains a \ccc{std::pair} for center and radius, or a \ccc{std::pair} for two points defining -the circle, or \ccc{Triple} for three points defining +the circle, or \ccc{boost::array} for three points defining the circle.} \end{ccRefClass} diff --git a/GraphicsView/include/CGAL/Qt/GraphicsViewCircleInput.h b/GraphicsView/include/CGAL/Qt/GraphicsViewCircleInput.h index 5280fcc7c9a..cc6f835df40 100644 --- a/GraphicsView/include/CGAL/Qt/GraphicsViewCircleInput.h +++ b/GraphicsView/include/CGAL/Qt/GraphicsViewCircleInput.h @@ -15,6 +15,8 @@ #include #include +#include + namespace CGAL { namespac Qt { @@ -96,7 +98,7 @@ GraphicsViewCircleInput::mousePressEvent(QGraphicsSceneMouseEvent *event) r = convert(qr); typename K::Collinear_2 collinear; if(! collinear(p,q,r)){ - emit generate(CGAL::make_object(CGAL::Triple(p,q,r))); + emit generate(CGAL::make_object(make_array(p,q,r))); count = 0; } }