Compute a level set from a function
geo level_set (const field& fh);
Given a function fh defined in a domain Lambda, compute the level set defined by {x in Lambda, fh(x) = 0}. This level set is represented by the geo class.
The option class leve_set_option_type controls the slit of quadrilaterals into triangles for tridimensional intersected surface and also the zero machine precision, epsilon.
struct level_set_option_type { bool split_to_triangle; Float epsilon; level_set_option_type() : split_to_triangle(true), epsilon(100*std::numeric_limits<Float>::epsilon()) {} }; template <class T, class M> geo_basic<T,M> level_set ( const field_basic<T,M>& fh, const level_set_option_type& opt = level_set_option_type());