A new method for automatic detection of non-regular points in triangular meshes