Classifying by sides and angles