Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL_Qt4 and CGAL::Projection_traits_xy_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL_Qt4 and CGAL::Projection_traits_xy_3


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_Qt4 and CGAL::Projection_traits_xy_3
  • Date: Wed, 28 Nov 2012 15:45:05 +0100
  • Organization: GeometryFactory

On 28/11/2012 10:23, Anthony Truchet wrote:
Hello Andreas, hello to all,

Thanks for you quick reaction :-)

Le 27/11/2012 21:47, Andreas Fabri a écrit :
To get the graphicsitem compiled, it would be enough to throw out
Ray, Line, Iso_rectangle from the classes
CGAL::Qt::Converter, which converts CGAL and Qt points,...
CGAL::Qt::Painter_ostream, which calls the Qt drawing functions.

I write "enough", as you are looking for a quick hack.

I fear I don't grasp enough of the CGAL::Qt and GeometricTraits (yet) to
fully understand your "quick hack".

As you work for a company: buy commercial support.

Best regards,

Andreas


Do you mean I should write myself specialization of the
CGAL::Qt::Converter template for the Point_3 class, which get aliased to
Point_2 by the projection_xy_3 traits ?
Which part of this code would belong to the Geometric Traits, to
CGAL::QT or to my own code ?

I would have expected naively that the projection_xy_3 trait would
convert the Point_3 into Point_2, but this seems not being the case.
Should this operation really happen in CGAL::Qt::Converter ?

Thanks for your consideration.

Best regards,
--
Anthony Truchet

Engineer with Logilab SA - www.logilab.fr






--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page