measurement of triangle