Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Computing a convex hull with points derived from Point_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Computing a convex hull with points derived from Point_2


Chronological Thread 
  • From: Michael Hoffmann <>
  • To:
  • Subject: Re: [cgal-discuss] Computing a convex hull with points derived from Point_2
  • Date: Mon, 17 Dec 2007 14:16:35 +0100 (CET)

> I'm trying to compute a convex hull with points in 2D that
> carry some "meta information" (e.g. two unsigned ints).
>
> My first idea was to derive a class from Point_2 which has
> two addition member. However, this does not seem to work as
> I get a lengthy error message in IO/Tee_for_output_iterator.h,
> line 52 where CGAL tries to assign a Point_2 to my derived class.

Did you check the section "Extensible Kernel" in the manual? There is
an example...

http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Kernel_23/Chapter_main.html#Section_2.5

regards,
Michael



Archive powered by MHonArc 2.6.16.

Top of Page