mirror of https://github.com/CGAL/cgal
Follow the OG paper's prescription of the SVD threshold
It makes it less likely to have wild stuff happens on spiky geometry
This commit is contained in:
parent
5799dc8d15
commit
aa3925d829
|
|
@ -167,8 +167,9 @@ bool cell_position_QEM(const typename Domain::Cell_descriptor& c,
|
|||
|
||||
Eigen::JacobiSVD<typename Eigen_matrix_x::EigenType> svd(A, Eigen::ComputeThinU | Eigen::ComputeThinV);
|
||||
|
||||
// set threshold as in Peter Lindstrom's paper, "Out-of-Core Simplification of Large Polygonal Models"
|
||||
svd.setThreshold(1e-3);
|
||||
// Lindstrom's paper, "Out-of-Core Simplification of Large Polygonal Models": 1e-3
|
||||
// Ju's paper, "Dual Contouring of Hermite Data": 1e-1
|
||||
svd.setThreshold(1e-1);
|
||||
|
||||
Eigen_vector_3 x_hat;
|
||||
x_hat << x_coord(com), y_coord(com), z_coord(com);
|
||||
|
|
|
|||
Loading…
Reference in New Issue