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: xiaojing xuan <>
  • To:
  • Subject: Re: [cgal-discuss] Error in documentation of Segment_Delaunay_graph_2
  • Date: Fri, 29 Mar 2013 22:21:15 +0800

Hello!
I want to get the offset polygon of a curve,can you give me some suggestion or sent me the algorithm and code?
thank you very much and best wishes for you!


2013/3/29 Philipp Blanke <>
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?

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

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page