Subject: CGAL users discussion list
List archive
- From: Manuel Caroli <>
- To:
- Subject: Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3
- Date: Sun, 11 Apr 2010 14:32:22 +0200
Dear Song Lin,
Have you tried
as.classify( *vit, 0 );
Anyway if you put 0 as alpha value classify should always return EXTERIOR, I suppose.
best
Manuel
On 11/04/10 14:15, Song Lin wrote:
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/
- [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Song Lin, 04/10/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Laurent Rineau (GeometryFactory), 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Song Lin, 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Manuel Caroli, 04/11/2010
- [cgal-discuss] Thanks Laurent Rineau and Manuel Caroli for your help, Song Lin, 04/11/2010
- Re: [cgal-discuss] Thanks Laurent Rineau and Manuel Caroli for your help, Laurent Rineau (GeometryFactory), 04/11/2010
- [cgal-discuss] Thanks Laurent Rineau and Manuel Caroli for your help, Song Lin, 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Laurent Rineau (GeometryFactory), 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Manuel Caroli, 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Song Lin, 04/11/2010
- Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3, Laurent Rineau (GeometryFactory), 04/11/2010
Archive powered by MHonArc 2.6.16.