Triangle classification by side length and angle measurement