Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3


Chronological Thread 
  • From: Song Lin <>
  • To:
  • Subject: Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3
  • Date: Sun, 11 Apr 2010 20:15:13 +0800

Thank you very much for your reply.

I have noticed the function classify(...) but I cant find out how to
convert the iterator type

Alpha_shape_3::Finite_edges_iterator vit;

to the type

Alpha_shape_3::Edge

that the function

as.classify( Edge e, FT alpha = get_alpha())

needed.

I tried
as.classify( vit, 0)
and
as.classify( as(vit), 0)
but both don't work.

I have read Part IX: Triangulations and Delaunay Triangulations but
can't find a solution, and I cant find an example similar to this. I'm a
new user of CGAL and I'm sorry for not reading the manual carefully. But
I fount it really hard for me to find what I need in the manual of so
many pages.

Can you help me again for this problem? And I will really be appreciated
if you can give me any suggestions on how to get start with CGAL as a
beginner.

Lin



在 2010-04-11日的 11:55 +0200,Laurent Rineau (GeometryFactory)写道:
> Le Samedi 10 Avril 2010 16:20:14, Song Lin a écrit :
> > Hi,
> >
> > As Weighted_alpha_shape_3 is a subset of Regular_triangulation_3, anyone
> > knows how to decide which cell(face,edge...) of Triangulation_3 is
> > included in Alpha_shape_3 and which is not?
>
> Such questions have answers in the manual. Have a look at the classify(...)
> functions of Alpha_shape_3:
> http://www.cgal.org/Manual/3.5/doc_html/cgal_manual/Alpha_shapes_3_ref/Class_Alpha_shape_3.html
>
> --
> Laurent Rineau, PhD
> Release Manager of the CGAL Project http://www.cgal.org/
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
>
--
Center for Computational and Systems Biology,
Institute of Biophysics, CAS.
15 Datun Road, Chaoyang District
Beijing, 100101
P.R.China

Tel/FAX: 86-10-64888427




Archive powered by MHonArc 2.6.16.

Top of Page