old name -> new name
sdf_values_computation -> compute_sdf_values
surface_mesh_segmentation_from_sdf_values -> segment_from_sdf_values
surface_mesh_segmentation -> compute_sdf_values_and_segment
Also example code files are changed accordingly.
- New template parameter is added to SDF_calculation and Surface_mesh_segmentation
- mesh_segmentation.h is changed according to passing trait parameter to Surface_mesh_segmentation
2) Demo is updated (it uses the API now) (also cleaned)
Also SDF values that are used for visualization (result of "Calculate SDF") is now linearly normalized values (previously they were log-normalized)
3) New example is added (using id's to access pmap data)
Mostly reviewing. Also including a note about performance.
It now contains an implementation which uses MAXFLOW software (see comments in performance)
Documentation update (reference manual part)
(other structures which have a facet as key-value are converted to vectors)
Using const Polyhedron& as a parameter (previously I was using Polyhedron pointer).
mesh_segmentation.h added for API which includes free functions.
AABB_const_polyhedron_triangle_primitive.h is added for supporting Facet_const_iterator as a parameter to AABB Tree. (I am not sure that is the best solution.)