double flip_avoiding_line_search(const Eigen::MatrixXi &F, Eigen::MatrixXd &cur_v, const Eigen::MatrixXd &dst_v, std::function< double(Eigen::MatrixXd &)> &energy, double cur_energy=-1)
A bisection line search for a mesh based energy that avoids triangle flips as suggested in "Bijective...