Classification by sides and angles