Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] drawing a conic arc using Qt_widget

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] drawing a conic arc using Qt_widget


Chronological Thread 
  • From: Ashwin Nanjappa <>
  • To:
  • Subject: Re: [cgal-discuss] drawing a conic arc using Qt_widget
  • Date: Mon, 21 Apr 2008 10:02:58 +0800

Mahmood Naderan wrote:
[...] Now if I want to draw a conic arc:
Rat_circle_2 Circ2;
Conic_arc_2 con;
Point_2 s, e;
*w << Conic_arc_2 ( Circ2, CGAL::COUNTERCLOCKWISE, s, e );
At this line I get:
error C2678: binary '<<' : no operator found which takes a left-hand operand of type 'CGAL::Qt_widget' (or there is no acceptable conversion)
Am I right? How can I draw a conic arc from one point to another point (with a given center)?

I haven't used Qt_widget, so I might be wrong here ... are you sure Qt_widget can handle/draw that type? From your earlier emails, I presume that the Conic_arc_2 you're using is a typedef of Traits_2::Curve_2

On referring to the documentation for Qt_widget, I see that Curve_2 isn't listed as a supported type:
<http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Qt_widget_ref/Class_Qt_widget.html>

~ash



Archive powered by MHonArc 2.6.16.

Top of Page