Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] number_of_vertices_in_complex
- Date: Tue, 30 Aug 2011 09:32:29 +0200
- Organization: GeometryFactory
Hi Dominik,
Did you try c3tr.triangulation().number_of_vertices() already?
I don't find the function c3t3.number_of_vertices_in_complex()
in the manual, but taken the name of the function you
have probably not meshed yet, that is no facet is selected
and hence no vertex in the complex.
Hope this helps (waiting for Laurent and Mariette coming back),
andreas
On 30/08/2011 09:21, 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?
Regards,
Dominik
- [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.