Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] help with CGAL conceptual
- Date: Mon, 27 Oct 2008 20:13:27 +0100 (CET)
- Importance: Normal
>>>> 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
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
Thanks it is clearer now. Another question: how do I create/get
edge_handler from a facet?
This is my code snippet :
Delaunay3d::Finite_facets_iterator facet;
for (facet = T.finite_facets_begin(); facet != T.finite_facets_end();
++facet){
- [cgal-discuss] help with CGAL conceptual, Nizar Khalifa Sallem, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Bernd Gaertner, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Nizar Khalifa Sallem, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Camille Wormser, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, nksallem, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, nksallem, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Camille Wormser, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Camille Wormser, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Nizar Khalifa Sallem, 10/27/2008
- Re: [cgal-discuss] help with CGAL conceptual, Bernd Gaertner, 10/27/2008
Archive powered by MHonArc 2.6.16.