Subject: CGAL users discussion list
List archive
- From: Mahmood Naderan <>
- To:
- Subject: Re: [cgal-discuss] drawing a conic arc using Qt_widget
- Date: Sun, 20 Apr 2008 22:20:24 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=vyQbA23nQ1Ij9h74On+viTZGn6X8AqqAsOBC5jACGTXV/rQs6gE1X0dEJBs8uoR82T7kI3DIVT2ID45pBYX5Mt44Of5SGNlVqS3bAi6YberirXGU3j+cLfKT7Bf5i/UDzditEOsbNKomO+A8kQya8kbxPiZETHbUXZRsnF9/ZP8=;
>are you sure Qt_widget can handle/draw that type?
I am asking too. Qt_widget can draw a segment or circle, but when I call it for a conic arc the error (maybe) means that there is no overload operator which take a right hand operand of type conic arc. I am not sure. That is why I asked.
>I presume that the Conic_arc_2 you're using is a typedef of Traits_2::Curve_2
yes, it is of that type
-------------------
Mahmood Naderan
Mahmood Naderan
----- Original Message ----
From: Ashwin Nanjappa <>
To:
Sent: Monday, April 21, 2008 5:32:58 AM
Subject: Re: [cgal-discuss] drawing a conic arc using Qt_widget
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
From: Ashwin Nanjappa <>
To:
Sent: Monday, April 21, 2008 5:32:58 AM
Subject: Re: [cgal-discuss] drawing a conic arc using Qt_widget
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
- Re: [cgal-discuss] drawing a conic arc using Qt_widget, Mahmood Naderan, 04/21/2008
- Re: [cgal-discuss] drawing a conic arc using Qt_widget, Ashwin Nanjappa, 04/26/2008
- [cgal-discuss] 3D reflection function of point with respect to a plane, samuel kim, 04/26/2008
- Re: [cgal-discuss] 3D reflection function of point with respect to a plane, Pierre Alliez, 04/28/2008
- RE: [cgal-discuss] 3D reflection function of point with respect to a plane, samuel kim, 04/28/2008
- How can I get the same facet and vertex handle after saving as .off and reloading it?, samuel kim, 04/28/2008
- RE: [cgal-discuss] 3D reflection function of point with respect to a plane, samuel kim, 04/28/2008
- Re: [cgal-discuss] 3D reflection function of point with respect to a plane, Pierre Alliez, 04/28/2008
- [cgal-discuss] 3D reflection function of point with respect to a plane, samuel kim, 04/26/2008
- Re: [cgal-discuss] drawing a conic arc using Qt_widget, Ashwin Nanjappa, 04/26/2008
Archive powered by MHonArc 2.6.16.