Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Example of vertex item for convex_hull_3 function

Subject: CGAL users discussion list

List archive

[cgal-discuss] Example of vertex item for convex_hull_3 function


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Example of vertex item for convex_hull_3 function
  • Date: Mon, 15 Feb 2010 14:38:41 +0100 (CET)

Dear CGAL users,
I want to attach an item per vertex to a set of points for which I want the
convex hull (let say an index).
I have understood that I need to refine CGAL::Polyhedron_items_3 as in the
examples:

examples/Polyhedron/polyhedron_prog_color.cpp
examples/Surface_mesh_simplification/edge_collapse_enriched_polyhedron.cpp

however in these examples, the custom field of the face/edge is filled after
the construction, but I would like to provide a point with the appropriate
index before a call to convex_hull_3.
It probably means that I have to define my own kind of point (probably derived
from one of the CGAL class).
As I am not sure if this is even possible, I would be really happy if somebody
can share her/his experience with such a problem such that I can switch to an
other implementation as quickly as possible if my understanding is correct.

Is there an example of such a specialization somewhere in the documentation
that I missed?
Did somebody already have solved this kind of problem?


- thank you in advance,

Manuel



Archive powered by MHonArc 2.6.16.

Top of Page