Region detection based on the geometrical characteristics of a mesh. The algorithm just needs the number of regions. In this example detection is based on the angle between the faces and face to face traversal distance. Still the algorithm can make use of any mesh characteristic or even outside guide data (like guide geometry)