Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] help with CGAL conceptual

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] help with CGAL conceptual


Chronological Thread 
  • From: Camille Wormser <>
  • To:
  • Subject: Re: [cgal-discuss] help with CGAL conceptual
  • Date: Mon, 27 Oct 2008 11:53:50 +0100

I want to know how to find all the attributes and the methodes of a class in one shot.

I recommend to go to the manual index (available from the navigation bar at the top of the online manual) and click on the class name. This gets you right to the reference page of the class.

Best,
Bernd Gaertner.
I did that and there is no attributes listed corresponding to an "id" although I am sure that it must be one since in the output of the triangulation each facet has an id.

Well the reason you do not find it is that it does not exist: there is no such thing as an id per facet. Each facet is referred to by its Face_handle, but there is nothing like an integer index associated to it. If you do need that, you will have to generate it.

This is exactly what the file_output function does:

  std::map<Vertex_handle,int> V;
  std::map<Face_handle,int> F;

You can have a look at function file_output in file Triangulation_data_structure_2.h if you want to see in more details how it is done.

Best,
-- 
Camille




Archive powered by MHonArc 2.6.16.

Top of Page