PolyFront: an algorithm for fast generation of high quality triangular mesh