bool equals(Triangle triangle) { return triangle.a.equals(a) && triangle.b.equals(b) && triangle.c.equals(c); }