Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error in documentation of Segment_Delaunay_graph_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error in documentation of Segment_Delaunay_graph_2


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Error in documentation of Segment_Delaunay_graph_2
  • Date: Fri, 29 Mar 2013 15:48:00 +0100
  • Organization: GeometryFactory

On 03/29/2013 02:53 PM, Philipp Blanke wrote:
Hello!

I was unclear in my problem statement. The doc says
Segment_Delaunay_graph_2<Gt, DS>

while the source says
Segment_Delaunay_graph_2<Gt, ST, DS, LTag>

There are defaults for the last three values, but the order is wrong.
I just needed to change the TDS, so it accomodates info() for
vertices. Doing it after the doc gave me errors of course. I then also
had to give the (default) storage traits, since I did not want to
touch the source.

By the way, I just discovered the new doxygen docs. Nice work. I
appreciate the menu on the left! In my browser (Firefox 19) all text
is rendered bold. Intentional?
Could you send a screenshot in a private email?

Thanks,

Sebastien.


Best,
Philipp


On Thu, Mar 28, 2013 at 11:31 AM, Laurent Rineau
(CGAL/GeometryFactory)<>
wrote:

Le mercredi 27 mars 2013 23:17:14 Philipp Blanke a écrit :
Hello!

I think I found an error in the description of the Segment_Delaunay_graph_2
on

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Segment_Delaunay_grap
h_2_ref/Class_Segment_Delaunay_graph_2.html

Looking at the code, i find that Segment_Delaunay_graph_2 is templated by
4 parameters, not two as described (which gave me a headache):
CGAL::Segment_Delaunay_graph_
2<
Gt, // geometric traits
St, // storage traits
TDS, // triangulation data structure
LTag // don't know what that is for

The last two template parameters have defaults, and are not documented.

In which scenario do you need to know that CGAL::Segment_Delaunay_graph_2 is a
class template with four parameters?

--
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://sympa.inria.fr/sympa/info/cgal-discuss





--
Philipp
Blanke<>
| Fon: +49 (0)5 11-762 29 13
| Fax: +49 (0)5 11-762 29 11
Leibniz Universität Hannover | Jabber:

Welfenlab - Division of Computer Graphics | ICQ: 275577053
Welfengarten 1, D-30167 Hannover | http://www.welfenlab.de





Archive powered by MHonArc 2.6.18.

Top of Page