Skip to Content.
Sympa Menu

cgal-discuss - drawing a conic arc using Qt_widget

Subject: CGAL users discussion list

List archive

drawing a conic arc using Qt_widget


Chronological Thread 
  • From: Mahmood Naderan <>
  • To: CGAL discuss <>
  • Subject: drawing a conic arc using Qt_widget
  • Date: Sat, 19 Apr 2008 03:53:55 -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=4bwGIFFudfm0Nbh/JmZyqUOKIMUw310fWkBM8ZVAvRO8RC1J2otQmrma9nvRbZtQ6437lm9eg6wO8tkVPpaJXtY5ORQymfcLHGxACx45AAlnvNiNV/M7NBh6UV+Gkfto532dVEPARLsN7ahmlBCWpTg9qxNu7qxa3Vj90dCvyC8=;

Hello,
It seems that QT widget can dra segments but not conic arcs. For example, the statement:
      std::vector< Rat_point_2 >       myPointsL;
      *w << Rat_segment_2( myPointsL[i], myPointsL[i+1] );
 
has no error and in the output there is a segment. 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)?
 
-------------------
Mahmood Naderan
http://ce.sharif.edu/~m_naderan


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.


Archive powered by MHonArc 2.6.16.

Top of Page