Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Missing SurfaceMeshComplex_2InTriangulation_3 constructor

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Missing SurfaceMeshComplex_2InTriangulation_3 constructor


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Missing SurfaceMeshComplex_2InTriangulation_3 constructor
  • Date: Wed, 14 May 2014 10:57:43 +0200
  • Organization: GeometryFactory

Le Wednesday 14 May 2014 10:07:54 Per Zetterlund a écrit :
> According to the docs
>
> http://doc.cgal.org/4.2/CGAL.CGAL.3D-Surface-Mesh-Generation/html/classSurfa
> ceMeshComplex__2InTriangulation__3.html
>
> there is a constructor that takes a "selector" function object:
>
> SurfaceMeshComplex_2InTriangulation_3::SurfaceMeshComplex_2InTriangulation_3
> ( Triangulation & t3,
> FacetSelector select
> )
>
> However in the header there is only
>
> Surface_mesh_complex_2_in_triangulation_3 (Tr& tr)
>
> : Complex_2_in_triangulation_3<Tr>(tr)
>
> {
>
> I use the Ubuntu package libcgal-dev which apparently is
>
> $ apt-cache show libcgal-dev | grep Version
> Version: 4.2-4ubuntu1
>
> Am I missing something?

You are right. That is a documentation error. That constructor had never been
implemented. I will remove it from the documentation of next CGAL release.

Anyway, that is strange to document the constructor in the concept instead of
documenting constructors in the concrete models: the object is supposed to be
already constructed when it is passed to `make_surface_mesh`, the consumer of
the concept.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page