|
Celeritas 0.7.0-dev.179+develop.ec08af0c9
|
Recursively simplify, then call the given function on the final surface. More...
#include <RecursiveSimplifier.hh>
Public Member Functions | |
| RecursiveSimplifier (F &&func, real_type tol) | |
| Construct with tolerance and function to apply. | |
| RecursiveSimplifier (F &&func, Tolerance<> tol) | |
| Construct with tolerance and function to apply. | |
| template<class S > | |
| void | operator() (Sense s, S const &surf) |
| Apply to a surface with a known type. | |
| void | operator() (Sense s, VariantSurface const &surf) |
| Apply to a surface with an unknown type. | |
Recursively simplify, then call the given function on the final surface.
The tolerance for this class should be relative.
Example: