Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] how to campare Alpha_shape_3 and Triangulation_3
- Date: Sun, 11 Apr 2010 14:47:44 +0200
- Organization: GeometryFactory
Le Dimanche 11 Avril 2010 14:15:13, Song Lin a écrit :
> 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
The value_type of that iterator type is... "Edge"!
Let's renamed your iterator variable to "eit" (edge it', instead of vertex
it'), then the Finite_edges_iterator eit is a kind of pointer, and it points
to "*eit".
> that the function
>
> as.classify( Edge e, FT alpha = get_alpha())
>
> needed.
as.classify(*eit, 0);
--
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.