[Triangle] removed Triangle class.