Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] About SurfaceMeshTraits_3::Construct_initial_points in Mesh Generation
Chronological Thread
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] About SurfaceMeshTraits_3::Construct_initial_points in Mesh Generation
- Date: Mon, 10 Nov 2008 11:51:15 +0100
On Saturday 08 November 2008 18:01:19 Amir Vaxman wrote:
> Why do I need two functions, such that one is a generalization of the
> other?
The function make_surface_mesh has a parameter number_of_initial_points with
a
default value = 20.
In future implementation of make_surface_mesh, we has reserved the
possibility
to split that function into two: one with the parameter
number_of_initial_points without default value, and one without that
parameter.
With CGAL-3.3, you can implement only the one with the parameter
number_of_initial_points, if you want.
> Further more, which iterator do I need to return? Looking at the
> include file "Sphere_Oracle_3", I gathered that I receive the iterator that
> should point to the first point, and that I return the next-after-last
> iterator. Is that how it should be?
That iterator is an "output iterator"¹ of value type You can use
std::back_inserter(one_vector) for example.
¹) See for example http://www.sgi.com/tech/stl/OutputIterator.html
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] About SurfaceMeshTraits_3::Construct_initial_points in Mesh Generation, Amir Vaxman, 11/08/2008
- Re: [cgal-discuss] About SurfaceMeshTraits_3::Construct_initial_points in Mesh Generation, Laurent Rineau, 11/10/2008
- Re: [cgal-discuss] About SurfaceMeshTraits_3::Construct_initial_points, Mariette Yvinec, 11/13/2008
Archive powered by MHonArc 2.6.16.