Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals()
Chronological Thread
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Why do we need the property map parameters in read_xyz_points_and_normals()
- Date: Mon, 08 Aug 2011 15:34:02 +0200
Hi Yifei, Property maps are a generalization of std maps. Using C++ templates, they allow to retrieve an information (eg a point position) from a map, from an object's field, from a C array, ... In the example below, "point_pmap" and "normal_pmap" are temporary variables used by read_xyz_points_and_normals() to write the position and normal in the Pwn point type. They are not used after the end of read_xyz_points_and_normals(). Best regards, Laurent Saboret Le 08/08/2011 11:29, Yifei Li a écrit : Laurent, |
- [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.