Subject: CGAL users discussion list
List archive
[cgal-discuss] Is there a number_of_faces() method that considers the mesh domain
Chronological Thread
- From: gerth <>
- To:
- Subject: [cgal-discuss] Is there a number_of_faces() method that considers the mesh domain
- Date: Wed, 29 Aug 2012 03:29:28 -0700 (PDT)
Hello!
I am using a Constrained_Delaunay_triangulation_2 in combination with a
Delaunay_mesher_2 to mesh a polygon area.
I noticed that I can use the number_of_faces() method to get the number of
resulting faces of my mesh. However, some faces are outside of the polygon.
When I iterate over the faces with a Finite_faces_iterator, I can use the
is_in_domain() function to determine whether the face lies within the
polygon or not.
I was wondering if there is a function similar to number_of_faces(), that
returns only those faces that are within the polygon. Of course I can
iterate over the result and count all the faces where is_in_domain() returns
true, but that doesn't seem very efficient to me.
Thanks!
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Is-there-a-number-of-faces-method-that-considers-the-mesh-domain-tp4655764.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Is there a number_of_faces() method that considers the mesh domain, gerth, 08/29/2012
- Re: [cgal-discuss] Is there a number_of_faces() method that considers the mesh domain, Laurent Rineau (CGAL/GeometryFactory), 08/29/2012
- Re: [cgal-discuss] Is there a number_of_faces() method that considers the mesh domain, Sebastien Loriot (GeometryFactory), 08/29/2012
- [cgal-discuss] Re: Is there a number_of_faces() method that considers the mesh domain, gerth, 08/29/2012
- Re: [cgal-discuss] Is there a number_of_faces() method that considers the mesh domain, Laurent Rineau (CGAL/GeometryFactory), 08/29/2012
Archive powered by MHonArc 2.6.18.