Commit Graph

8 Commits

Author SHA1 Message Date
Paolo Cignoni c3f7b86500 Some changes to the voronoi processing class. Now it performs Loyyd relaxation on constrained elements only keeping into account the constrained set. In other words sample on the boundary are relaxed only keeping into account of he other boundary vertexes This will result in much better distributions of samples on the boundaries.
Improved also boundary management in the refinement/spring relaxing. 
Added a parameter for controlling the preprocessing refinment
2014-03-18 11:27:46 +00:00
Paolo Cignoni f4fde23bb2 updated the sample to the voronoi processing renaming 2014-03-04 00:52:46 +00:00
Paolo Cignoni c0b621c810 updated the voronoisampling sample to show the new features of the recent changes to the voronoi relaxation framework. 2013-12-20 11:47:58 +00:00
Paolo Cignoni ab5869f6c3 Added the possibility of constraining the movement of some seeds onto a specific domain. Now during relaxation you can for example fix some seeds and constrain some other seeds over linear features defined as subset of vertices. 2013-12-20 02:33:36 +00:00
Paolo Cignoni 1039148025 updated the sample to the changes in voronoi_clustering.h 2013-11-27 17:46:09 +00:00
Paolo Cignoni 0bf3377f67 Rewrote sample for voronoi sampling.
Now it also delete short edges and triangulate the regions.
2013-10-09 09:20:21 +00:00
Paolo Cignoni cc52ce5439 Rewrote sample for voronoi sampling. Now it also fix some vertexes just to show how to constrain some vertices. 2013-10-03 14:33:47 +00:00
Paolo Cignoni eada2c02db First version of the voronoi sampler 2013-07-26 12:16:02 +00:00