You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to sample a surface mesh using CGAL::Polygon_mesh_processing::sample_triangle_mesh and associate with each sampled point the normal and index of the face it was sampled from. Is it possible to do this with property maps and named parameters?
Source Code
Environment
Operating system (Windows/Mac/Linux, 32/64 bits):
Compiler:
Release or debug mode:
Specific flags used (if any):
CGAL version:
Boost version:
Other libraries versions if used (Eigen, TBB, etc.):
The text was updated successfully, but these errors were encountered:
I looked at the code. I would say that it cannot be achieved with just a custom property map. But it should be easy to add a named parameter for a visitor which gets the point together with a face/edge/vertex descriptor.
Issue Details
I want to sample a surface mesh using CGAL::Polygon_mesh_processing::sample_triangle_mesh and associate with each sampled point the normal and index of the face it was sampled from. Is it possible to do this with property maps and named parameters?
Source Code
Environment
The text was updated successfully, but these errors were encountered: