This module refines a surface.
This module refines a surface by replacing qualified triangles with 4 smaller triangles. A triangle gets qualified for refinement if it's shortest edge is superior to a user defined minimum length, and if it's longest edge is superior to a user defined maximum length.
The algorithm iterates through all triangles until no more triangles are qualified for refinement, or until a maximum user defined number of iterations is reached.
Note: Unlike other approaches, this algorithm does not smooth edges because the replaced triangles inherit their orientation from their parent triangle.