'The Euler line of the triangle.
The line which passes through circumcenter, centroid and orthocenter.
Returns
eulerline : Line (or Point for equilateral triangles in which case all
centers coincide)
Examples
>>> from sympy.geometry import Point, Triangle
>>> p1, p2, p3 = Point(0, 0), Point(1, 0), Point(0, 1)
>>> t = Triangle(p1, p2, p3)
>>> t.eulerline
Line2D(Point2D(0, 0), Point2D(1/2, 1/2))'

@property
def eulerline(self):

    if self.is_equilateral():
        return self.orthocenter
    return Line(self.orthocenter, self.circumcenter)
