Subject: CGAL users discussion list
List archive
[cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals()
Chronological Thread
- From: Yifei Li <>
- To:
- Subject: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals()
- Date: Mon, 8 Aug 2011 03:24:12 -0400
Hi all,
read_xyz_points_and_normals(std::stream& in , OutputIterator output, PointPMap point_pmap, NormalPMap normal_pmap) is used to read coordinates and normals from a file (see CGAL/IO/read_xyz_points_and_normals.h). I don't understand what the parameters point_pmap and normal_pmap are useful for. It sounds like they are used to hold coordinates and normals respectively, but I think output is used for this purpose too. I guess I may use the function in the following way:
typedef std::vector< std::pair<Point,Vector> > points;
read_xyz_points_and_normals(input,std::back_inserter(points));
I appreciate your help.
Yifei
- [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Yifei Li, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Laurent Saboret, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Yifei Li, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Laurent Saboret, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Yifei Li, 08/09/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Laurent Saboret, 08/09/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Yifei Li, 08/09/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Laurent Saboret, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Yifei Li, 08/08/2011
- Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals(), Laurent Saboret, 08/08/2011
Archive powered by MHonArc 2.6.16.