Classify shapes by line and angle types