Subject: CGAL users discussion list
List archive
- From: Dominik Szczerba <>
- To:
- Subject: Re: [cgal-discuss] number_of_vertices_in_complex
- Date: Tue, 30 Aug 2011 15:08:16 +0200
Yes, you are right. Many thanks for the clarifications!
Dominik
On Tue, Aug 30, 2011 at 2:38 PM, Laurent Rineau (GeometryFactory)
<>
wrote:
> On mardi 30 août 2011 09:21:00 Dominik Szczerba wrote:
>> In CGAL 3.7 I used to get the number of vertices in the generated mesh
>> from c3t3.number_of_vertices(). In 3.8 this function is gone and the
>> similarly named c3t3.number_of_vertices_in_complex()
>> returns zero, even if the mesh is there (as per the loop over
>> Finite_vertices_iterator vit = tr.finite_vertices_begin(); vit !=
>> tr.finite_vertices_end()). How to query the number of vertices
>> correctly?
>
> c3t3.number_of_vertices() was not documented, and that is why the
> compatibility was not kept. It is the same as:
>
> c3t3.triangulation().number_of_vertices();
>
> that is documented, in both 3.7 and 3.8. Use that as a replacement and
> should
> no longer ave problems.
>
> number_of_vertices_in_complex() is not documented either, and is not what
> you
> expect. It should be named number_of_corners(), documented here:
> http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Concept_MeshComplexWithFeatures_3InTriangulation_3.html
>
> --
> Laurent Rineau, PhD
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
> Release Manager of the CGAL Project http://www.cgal.org/
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
- [cgal-discuss] number_of_vertices_in_complex, Dominik Szczerba, 08/30/2011
- Re: [cgal-discuss] number_of_vertices_in_complex, Andreas Fabri, 08/30/2011
- Re: [cgal-discuss] number_of_vertices_in_complex, Laurent Rineau (GeometryFactory), 08/30/2011
- Re: [cgal-discuss] number_of_vertices_in_complex, Dominik Szczerba, 08/30/2011
Archive powered by MHonArc 2.6.16.