16 Oct 2019

Refine Surface

Module for refining 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 on 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 replacing triangles inherit their orientation from its parent triangle.