Triangle geometry