Triangle copy(Triangle triangle) { a.setFrom(triangle.a); b.setFrom(triangle.b); c.setFrom(triangle.c); return this; }