The MyTriangle class