diff --git a/wrap/igl/miq_parametrization.h b/wrap/igl/miq_parametrization.h index bd07d357..9ee0b9e8 100644 --- a/wrap/igl/miq_parametrization.h +++ b/wrap/igl/miq_parametrization.h @@ -72,6 +72,8 @@ public: bool round_singularities; //use the crease edges as feature or not bool crease_as_feature; + //true if roound selected vert + bool round_selected; MIQParameters() { @@ -80,6 +82,7 @@ public: directRound=true; round_singularities=true; crease_as_feature=false; + round_selected=true; stiffness=5; stiffness_iter=10; local_iter=5; @@ -151,6 +154,15 @@ private: std::vector extra_round; + if (MiqP.round_selected) + { + for (int i=0;i extra_round; - + //collect extra vertex selected that need to be rounded + if (MiqP.round_selected) + { + for (int i=0;i