Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How do I construct a WritablePropertyMap?

Subject: CGAL users discussion list

List archive

[cgal-discuss] How do I construct a WritablePropertyMap?


Chronological Thread 
  • From: Iason Manolas <>
  • To:
  • Subject: [cgal-discuss] How do I construct a WritablePropertyMap?
  • Date: Mon, 31 Oct 2016 13:46:57 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:SC7NORx8kycd5OzXCy+O+j09IxM/srCxBDY+r6Qd0u0SIJqq85mqBkHD//Il1AaPBtSBra0VwLCK++C4ACpbvsbH6ChDOLV3FDY7yuwu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9dazJHdvZgM2zkuyz4JbOeB5ghTynYLo0Ig/lgx/Ws5w3iJBlLO4Uwx3OpnJTM7BP3H9vIV+Vkj7z486x+Nho9CEG6KFpzNJJTaivJ/dwdrdfFjlza20=

Hi,

I am new to CGAL. I have constructed a CGAL::Polyhedron_3 and now I want to compute the normal vector for each of its vertices. So I found the Polygon Mesh Processing package which happens to have a function doing exactly what I want . In the above link I found out that the second argument was of type  VertexNormalMap which is a model of WritablePropertyMap. There was a link to boost libraries explaining(?) what writable property map is .

Unfortunately this is my first encounter with property maps and consequently I am a bit confused..
I also had a look at cgal's explanation of property maps page, but I did not understand much..

Could anyone suggest a way of creating the property map I need?

Best Regards,
Iason


  • [cgal-discuss] How do I construct a WritablePropertyMap?, Iason Manolas, 10/31/2016

Archive powered by MHonArc 2.6.18.

Top of Page