Automatic recognition and representation of shape-based features in a geometric modeling system