Central place for geometry intersection tolerances
In the GeometryIntersection
algorithms we define a baseEps_ = 1.5e-7
in every specialization. I think it could be beneficial to define the tolerance once in a central place. Something like
template<typename ctype>
class Precision
{
public:
static ctype relativeTolerance()
{ return 1.5e-7; } // or get from parameter tree as a static const variable? or from configure step?
};
Personally, I would be in favor of the solution with the parameter tree such that users can change the tolerance via the input file.